nest-commander: Could not find a declaration file for module 'inquirer'.
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
node_modules/nest-commander/src/inquirer.service.d.ts:2:42 - error TS7016: Could not find a declaration file for module 'inquirer'. '/usr/src/app/node_modules/nest-commander/node_modules/inquirer/lib/inquirer.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/inquirer` if it exists or add a new declaration (.d.ts) file containing `declare module 'inquirer';`
Minimum reproduction code
- install nest-commander
- create a command with it
- run app
Expected behavior
No error is shown.
Package
-
nest-commander
-
nest-commander-schematics
-
nest-commander-testing
Package version
2.3.4
Node.js version
17.2.0
In which operating systems have you tested?
- macOS
- Windows
- Linux
Other
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 18 (7 by maintainers)
I can wait I will install
@types/inquirer
Feel free to make a PR to address this. Otherwise I’ll try to get to it later this week