Skip to content

Commit 2389a5e

Browse files
authoredMar 6, 2024··
Adjust type enforcement to remove warnings (#889)
1 parent cf541a5 commit 2389a5e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎.eslintrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
{
2424
"files": ["test/**"],
2525
"rules": {
26-
"@typescript-eslint/ban-ts-comment": "off"
26+
"@typescript-eslint/ban-ts-comment": "off",
27+
"@typescript-eslint/no-explicit-any": "error"
2728
}
2829
}
2930
]

‎src/types.ts

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Profile, SamlConfig } from ".";
44

55
export interface AuthenticateOptions extends passport.AuthenticateOptions {
66
samlFallback?: "login-request" | "logout-request";
7+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
78
additionalParams?: Record<string, any>;
89
}
910

0 commit comments

Comments
 (0)
Please sign in to comment.