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

>> .d.ts files often won‘t be needed either.

.d.ts files contain a lot of things other than types for the emitted code. Interface types disappear completely when compiling TypeScript, but they are an important part of many .d.ts files, especially anything describing existing web APIs.



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

Search: