Skip to content

Commit

Permalink
Adjust type enforcement to remove warnings (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbarth committed Mar 6, 2024
1 parent cf541a5 commit 2389a5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
{
"files": ["test/**"],
"rules": {
"@typescript-eslint/ban-ts-comment": "off"
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "error"
}
}
]
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Profile, SamlConfig } from ".";

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

Expand Down

0 comments on commit 2389a5e

Please sign in to comment.