When attempting to use the strategy as documented I'm getting the following error:
Argument of type '(accessToken: any, _: any, extraParams: any, profile: any) => Promise' is not assignable to parameter of type 'StrategyVerifyCallback<any, OAuth2StrategyVerifyParams<GitHubProfile, GitHubExtraParams>>'.
Also, appears to be an issue with authenticator.use(gitHubStrategy). Seeing the following error:
Argument of type 'GitHubStrategy' is not assignable to parameter of type 'Strategy<User, never>'.
Types of property 'verify' are incompatible.
Type 'StrategyVerifyCallback<unknown, OAuth2StrategyVerifyParams<GitHubProfile, GitHubExtraParams>>' is not assignable to type 'StrategyVerifyCallback<User, never>'.
Type 'unknown' is not assignable to type 'User'.ts(2345)
When attempting to use the strategy as documented I'm getting the following error:
Argument of type '(accessToken: any, _: any, extraParams: any, profile: any) => Promise' is not assignable to parameter of type 'StrategyVerifyCallback<any, OAuth2StrategyVerifyParams<GitHubProfile, GitHubExtraParams>>'.