ojoanalogo / nestjs-redoc

📘 ReDoc frontend for you NestJS swagger API documentation
MIT License
147 stars 55 forks source link

Update to NestJS 8 #40

Open talski opened 3 years ago

sinnrrr commented 3 years ago

+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.
john526 commented 3 years ago

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

UlrichFrancomme commented 3 years ago

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.

sinnrrr commented 3 years ago

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

ojoanalogo commented 3 years ago

Package updated on npm registry, thanks @UlrichFrancomme !