diff --git a/.eslintrc.json b/.eslintrc.json index 1e11d90a..85c2af21 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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" } } ] diff --git a/src/types.ts b/src/types.ts index 7a862c59..dded2775 100644 --- a/src/types.ts +++ b/src/types.ts @@ -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; }