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
The raven interceptor is not compatible with Nest 6. Here's the thrown error when trying to run my app:
node_modules/nest-raven/raven.interceptor.d.ts(7,5): error TS2416: Property 'intercept' in type 'RavenInterceptor' is not assignable to the same property in base type 'NestInterceptor<any, any>'.
Type '(context: ExecutionContext, call$: Observable<any>) => Observable<any>' is not assignable to type '(context: ExecutionContext, next: CallHandler<any>) => Observable<any> | Promise<Observable<any>>'.
Types of parameters 'call$' and 'next' are incompatible.
Type 'CallHandler<any>' is missing the following properties from type 'Observable<any>': _isScalar, source, operator, lift, and 6 more.
src/main.ts(18,31): error TS2345: Argument of type 'RavenInterceptor' is not assignable to parameter of type 'NestInterceptor<any, any>'.
Types of property 'intercept' are incompatible.
Type '(context: ExecutionContext, call$: Observable<any>) => Observable<any>' is not assignable to type '(context: ExecutionContext, next: CallHandler<any>) => Observable<any> | Promise<Observable<any>>'.
Types of parameters 'call$' and 'next' are incompatible.
Type 'CallHandler<any>' is not assignable to type 'Observable<any>'.
The raven interceptor is not compatible with Nest 6. Here's the thrown error when trying to run my app:
See https://docs.nestjs.com/migration-guide#interceptors
I might submit a PR for this if I manage to find some time.
The text was updated successfully, but these errors were encountered: