小编ros*_*osa的帖子

Type '' is not assignable to type 'JwtConfig'

I need to put those line into my code. but this error keeps appearing and I'm stuck with this, being not able to find the solution. Please help me.

Type '{ tokenGetter: () => string; whitelistedDomains: string[]; blacklistedRoutes: undefined[]; }' is not assignable to type 'JwtConfig'. Object literal may only specify known properties, and 'whitelistedDomains' does not exist in type 'JwtConfig'.ts(2322) angular-jwt.module.d.ts(14, 5): The expected type comes from property 'config' which is declared here on type 'JwtModuleOptions'

underlined error occurs …

jwt typescript google-oauth angular

4
推荐指数
1
解决办法
2159
查看次数

标签 统计

angular ×1

google-oauth ×1

jwt ×1

typescript ×1