Better HN
topnewbestaskshowjobs
Log inSign up

billybones123

1 karma · joined Aug 9, 2021 (5y ago) · 4 submissions

Submissions

comment 5y ago · link · parent

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

comment 5y ago · link · parent

I have wanted this too, and your comment inspired me to write a script[0]. I plan to submit extensions for chrome and firefox when I find some time.

[0] https://gist.github.com/bearr/05f4b41478acb1fdd3b58583d5e30c...