Downloading
Getting type declarations in TypeScript 2.0 and above requires no tools apart from npm.
As an example, getting the declarations for a library like lodash takes nothing more than the following command
1 | npm install --save @types/lodash |
Downloading
Getting type declarations in TypeScript 2.0 and above requires no tools apart from npm.
As an example, getting the declarations for a library like lodash takes nothing more than the following command
1 | npm install --save @types/lodash |
Designed by : w10schools
service@w10schools.com
Please login to continue.