Typescript utility automatically install all missing @types/*
from rootpath 's project's package.json.
$ yarn add react react-dom
....
$ at-types i
executing yarn add @types/react @types/react-dom
yarn add v0.23.2
warning No license field
[1/4] ๐ Resolving packages...
[2/4] ๐ Fetching packages...
[3/4] ๐ Linking dependencies...
[4/4] ๐ Building fresh packages...
success Saved lockfile.
success Saved 2 new dependencies.
โโ @types/[email protected]
โโ @types/[email protected]
warning No license field
โจ Done in 1.43s.
the list of @types/*
were fetched from npms.io
's api when the package is published, available at here or under the project root at-types-list.json
you can run at-types update
to update the @types/*
available.
i
-> install
use -e npm
if you want to do npm install
over yarn add
u
-> update