mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 22:01:24 +00:00
chore: Enable typescript/no-explicit-any rule.
This commit is contained in:
@@ -20,8 +20,7 @@ const OAUTH_PROVIDER_IDS = new Set<OAuthProvider>(
|
||||
);
|
||||
|
||||
function isOAuthProvider(provider: string): provider is OAuthProvider {
|
||||
// biome-ignore lint/suspicious/noExplicitAny: type guard needs runtime check
|
||||
return OAUTH_PROVIDER_IDS.has(provider as any);
|
||||
return OAUTH_PROVIDER_IDS.has(provider);
|
||||
}
|
||||
|
||||
const resolveOAuthProvider = (provider: string): OAuthProvider | null =>
|
||||
|
||||
Reference in New Issue
Block a user