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
When I run generate command ./node_modules/.bin/nest-sdk-generator ./frontend/sdk-generator.json I get this error:
-> Extracting type Response from file ../node_modules/@types/express/index.d.ts...
ERROR: Type Response was not found in file ../node_modules/@types/express/index.d.ts
Seems like this is the problem, indeed. I'll try to take some time and find a way to extract types from namespaces but unfortunately it's really hard to do.
Use case
In my
application.controller.ts
there is such action:When I run generate command
./node_modules/.bin/nest-sdk-generator ./frontend/sdk-generator.json
I get this error:When we open @type/express L127 we can see that there is a namespace.
Config
sdk-generator.json
Cause
I think that is because of one of limitation of nest-sdk-generator:
The text was updated successfully, but these errors were encountered: