Tsallaka zuwa abun ciki
Justice Tech School

Using JavaScript Libraries

Install @types/pkg for libraries without types. allowJs lets you migrate a project file by file.

Example
// npm i lodash && npm i -D @types/lodash
console.log("add @types for untyped packages");

Result

add @types for untyped packages

Exercise

Types package.

npm i -D @types/

Quiz Test

What is @types for?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.