Skip to content

Commit

Permalink
fix(authentication-oauth): Updated typings for projects with strictNu…
Browse files Browse the repository at this point in the history
…llChecks (#1941)

Co-authored-by: David Luecke <daff@neyeon.com>
  • Loading branch information
deskoh and daffl committed May 5, 2020
1 parent 98027c4 commit be91206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/authentication-oauth/src/strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class OAuthStrategy extends AuthenticationBaseStrategy {
return null;
}

async getRedirect (data: AuthenticationResult|Error, params?: Params) {
async getRedirect (data: AuthenticationResult|Error, params?: Params): Promise<string | null> {
const queryRedirect = (params && params.redirect) || '';
const { redirect } = this.authentication.configuration.oauth;

Expand Down

0 comments on commit be91206

Please sign in to comment.