nestjs-redoc icon indicating copy to clipboard operation
nestjs-redoc copied to clipboard

Update to NestJS 8

Open talski opened this issue 3 years ago • 5 comments

talski avatar Jul 21 '21 22:07 talski

+1, have the following error:

Argument of type 'import("C:/Users/dimas/Work/new/evoraid/node_modules/@nestjs/common/interfaces/nest-application.interface").INestApplication' is not assignable to parameter of type 'import("C:/Users/dimas/Work/new/evoraid/node_modules/nestjs-redoc/node_modules/@nestjs/common/interfaces/nest-application.interface").INestApplication'.   The types returned by 'startAllMicroservices(...)' are incompatible between these types.     Type 'Promise<INestApplication>' is missing the following properties from type 'INestApplication': use, enableCors, listen, getUrl, and 21 more.

sinnrrr avatar Jul 24 '21 14:07 sinnrrr

Hello @sinnrrr, uninstall nestjs-redoc and install npm i @ulrichf/nestjs-redoc it work for me

john526 avatar Aug 02 '21 10:08 john526

Hello @mxarc, I made a PR (#42 ) for this issue. Could you take a look please?

@john526 Thank you for using my package! 😄 I do no intend to keep it updated, it is only to help until this issue is solved. So I suggest to use mxarc's package again as soon as the PR will be merged.

UlrichFrancomme avatar Aug 03 '21 05:08 UlrichFrancomme

Hello @sinnrrr, uninstall nestjs-redoc and install npm i @ulrichf/nestjs-redoc it work for me

hey, thanks for suggestion apparently, @UlrichFrancomme have made a PR, solving this issue waiting for @mxarc to approve it

sinnrrr avatar Aug 03 '21 13:08 sinnrrr

Package updated on npm registry, thanks @UlrichFrancomme !

ojoanalogo avatar Aug 03 '21 14:08 ojoanalogo