Hacker News new | past | comments | ask | show | jobs | submit login

.d.ts files are mostly compilation output, only if the original source is JavaScript you write the definitions by hand. TypeScript developers normally work with types inside their ordinary .ts (JS+types) module file, not in a separate source file.



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

Search: