crud icon indicating copy to clipboard operation
crud copied to clipboard

Property 'intercept' in type 'CrudRequestInterceptor' is not assignable to the same property in base type 'NestInterceptor<any, any>'.

Open shushlyakov opened this issue 6 years ago • 1 comments

"@nestjs/common": "^6.10.8",
"@nestjs/core": "^6.10.8",
"@nestjsx/crud": "^4.2.0",
"@nestjs/platform-express": "^6.10.8",
"@nestjs/swagger": "^4.0.9",
"@nestjs/typeorm": "^6.2.0",

Error: ../node_modules/@nestjsx/crud/lib/interceptors/crud-request.interceptor.d.ts:3:5 - error TS2416: Property 'intercept' in type 'CrudRequestInterceptor' is not assignable to the same property in base type 'NestInterceptor<any, any>'.

Type '(context: ExecutionContext, next: CallHandler) => Observable' is not assignable to type '(context: ExecutionContext, next: CallHandler) => Observable | Promise<Observable>'.

Type 'Observable' is not assignable to type 'Observable | Promise<Observable>'.

shushlyakov avatar Dec 09 '19 15:12 shushlyakov

fixed in 4.3.0-beta.1

michaelyali avatar Dec 18 '19 07:12 michaelyali