Skip to content

Commit

Permalink
fix: add explicit type assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Jun 13, 2023
1 parent 767234a commit e0e5661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth.guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function createAuthGuard(type?: string | string[]): Type<IAuthGuard> {
}
}
const guard = mixin(MixinAuthGuard);
return guard;
return guard as Type<IAuthGuard>;
}

const createPassportContext =
Expand Down

0 comments on commit e0e5661

Please sign in to comment.