Skip to content

Commit a6b0042

Browse files
authored
Merge pull request #508 from node-saml/multisaml-tsignore-d-ts
add ts-ignore to generated type definitions for multisaml strategy
2 parents a625840 + f515f5e commit a6b0042

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"lint": "eslint --ext .ts src",
4141
"lint-watch": "onchange 'src/**/*.ts' -- eslint {{file}}",
4242
"lint:fix": "eslint --ext .ts --fix src",
43-
"prepublishOnly": "tsc",
43+
"prepare": "tsc",
4444
"prettier-check": "prettier --config .prettierrc --check .",
4545
"prettier-format": "prettier --config .prettierrc --write .",
4646
"prettier-watch": "onchange 'src/**/*.ts' -- prettier --write {{file}}",

src/passport-saml/multiSamlStrategy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class MultiSamlStrategy extends SamlStrategy {
5757
});
5858
}
5959

60-
// @ts-expect-error typescript disallows changing method signature in a subclass
60+
/** @ts-expect-error typescript disallows changing method signature in a subclass */
6161
generateServiceProviderMetadata(
6262
req: Request,
6363
decryptionCert: string | null,

0 commit comments

Comments
 (0)