You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: node_modules/angular-auth-oidc-client/lib/auto-login/auto-login-all-routes.guard.d.ts:14:5- error TS2416: Property 'canLoad'in type 'AutoLoginAllRoutesGuard' is not assignable to the same property in base type 'CanLoad'.
Type '(route: Route, segments: UrlSegment[]) => Observable<boolean>' is not assignable to type '(route: Route, segments: UrlSegment[]) => boolean | UrlTree | Observable<boolean | UrlTree> | Promise<boolean | UrlTree>'.
Type 'Observable<boolean>' is not assignable to type 'boolean | UrlTree | Observable<boolean | UrlTree> | Promise<boolean | UrlTree>'.
14 canLoad(route: Route, segments: UrlSegment[]): Observable<boolean>;
~~~~~~~
Error: node_modules/angular-auth-oidc-client/lib/auto-login/auto-login-all-routes.guard.d.ts:15:5- error TS2416: Property 'canActivate'in type 'AutoLoginAllRoutesGuard' is not assignable to the same property in base type 'CanActivate'.
Type '(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => Observable<boolean>' is not assignable to type '(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => boolean | UrlTree | Observable<boolean | UrlTree> | Promise<...>'.
Type 'Observable<boolean>' is not assignable to type 'boolean | UrlTree | Observable<boolean | UrlTree> | Promise<boolean | UrlTree>'.
Type 'Observable<boolean>' is not assignable to type 'Observable<boolean | UrlTree>'.
The types of 'source.operator.call' are incompatible between these types.
Type '(subscriber: import("E:/Angular/VReport/node_modules/angular-auth-oidc-client/node_modules/rxjs/internal/Subscriber").Subscriber<any>, source: any) => import("E:/Angular/VReport/node_modules/angular-auth-oidc-client/node_modules/rxjs/internal/types").TeardownLogic' is not assignable to type '(subscriber: import("E:/Angular/VReport/node_modules/rxjs/dist/types/internal/Subscriber").Subscriber<any>, source: any) => import("E:/Angular/VReport/node_modules/rxjs/dist/types/internal/types").TeardownLogic'.
Types of parameters 'subscriber' and 'subscriber' are incompatible.
Type 'Subscriber<any>' is missing the following properties from type 'Subscriber<any>': syncErrorValue, syncErrorThrown, syncErrorThrowable, _unsubscribeAndRecycle, and 2 more.
15 canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean>;
~~~~~~~~~~~
Error: node_modules/angular-auth-oidc-client/lib/interceptor/auth.interceptor.d.ts:14:5- error TS2416: Property 'intercept'in type 'AuthInterceptor' is not assignable to the same property in base type 'HttpInterceptor'.
Type '(req: import("E:/Angular/VReport/node_modules/@angular/common/http/http").HttpRequest<any>, next: import("E:/Angular/VReport/node_modules/@angular/common/http/http").HttpHandler) => import("E:/Angular/VReport/node_modules/angular-auth-oidc-client/node_modules/rxjs/internal/Observable").Observable<...>' is not assignable to type '(req: import("E:/Angular/VReport/node_modules/@angular/common/http/http").HttpRequest<any>, next: import("E:/Angular/VReport/node_modules/@angular/common/http/http").HttpHandler) => import("E:/Angular/VReport/node_modules/rxjs/dist/types/internal/Observable").O Call signature return types 'Observable<HttpEvent<any>>' and 'Observable<HttpEvent<any>>' are incompatible. The types of 'source' are incompatible between these types. Type 'import("E:/Angular/VReport/node_modules/angular-auth-oidc-client/node_modules/rxjs/internal/Observable").Observable<any>' is not assignable to type 'import("E:/Angular/VReport/node_modules/rxjs/dist/types/internal/Observable").Observable<any>'.14 intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; ~~~~~~~~~
Describe the bug
After update to "rxjs": "^7.2.0",
To Reproduce
Steps to reproduce the behavior:
Enviroment
The text was updated successfully, but these errors were encountered: