Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 362 Bytes

typescript.md

File metadata and controls

20 lines (13 loc) · 362 Bytes

Automatically install types for installed modules

This asks a bunch of questions, but does the job

npx types-installer

This works well

npx install-types [--yarn]

This requires you to specify the package name. It installs the package and the types. Unlike the other two, it detects yarn automatically.

npx typac <package_name>