Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you're looking for Typescript type definitions for a project you're using check this list - https://github.com/DefinitelyTyped/DefinitelyTyped


Good list, but are they going alphabetically and only made it to 'k'? ;-)

Edit: Thanks, I had a feeling there was a bug... it was just strange to see files from the top-level folder appear afterward, made it less obvious.


You can install typings (npm install -g typings) and then search for type definitions. For hapijs, it would be `typings search hapi`. Then you can install using `typings install dt~hapi --global --save`.


The directory is too big for GitHub's web view, unfortunately. The type definitions are moving to npm, so hopefully they'll be easier to search/view.


The list is truncated in web view on Github. If you use Visual Studio they all have nuget packages which lets you search for (and add them) easily to a project.


Not sure if you're being serious but GitHub truncates to 1000 files/directories.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: