30 ms·
This is the use case that I'm familiar with. For packages that don't bundle types, type definitions are often available through DefinitelyTyped[0]. npm insta
by billybones123 5y ago
This is the use case that I'm familiar with. For packages that don't bundle types, type definitions are often available through DefinitelyTyped[0].
npm install --save-dev @types/node
> The types should then be automatically included by the compiler
[0] https://github.com/DefinitelyTyped/DefinitelyTyped https://github.com/DefinitelyTyped/DefinitelyTyped