types-checker
Check missing type definition modules for your Typescript project
You may forget to add type definition
s for your projects. It's hard to add all dependencies at
the same time. You need to be sure that how many modules have definition module like @types/...
.
types-checker
will do it for you
cd path/of/your/projecttypes-checker # aliases ts-checker OR tscheck
Usage
Default params
tscheckStarting types-checker@0.0.3These modules are missing @types/config @types/nodePlease run with '--all' param
Using with Yarn
tscheck -aStarting types-checker@0.0.3These modules are missing @types/config @types/nodeRunning yarn add --dev @types/config @types/nodeDone in 2.66s
Using with NPM
tscheck -a -NStarting types-checker@0.0.3These modules are missing @types/config @types/nodeRunning npm install --save-dev @types/config @types/nodeDone in 2.00s
Interactive Mode
Installing
yarn add global types-checker
or
npm i -g types-checker
Options
types-checker --help Usage: types-checker [options] Options: -V, --version output the version number -l, --logger Debug output. See all logs -c, --no-color Disable colored output -a, --install Install all possible type definitions -e, --error Return the number of packages as exit code -p, --path [value] Path