sindresorhus / ama

[[I'm slow at replying these days, but I hope to get back to answering questions eventually]] Ask me anything!
https://blog.sindresorhus.com/answering-anything-678ce5623798
143 stars 32 forks source link

Why don't you write your stuff in TypeScript? #528

Open zikaari opened 6 years ago

zikaari commented 6 years ago

This is different from ones already answered at sindresorhus/ama/issues?q=typescript

Writing modules in TS from ground up gives you lot's of benefits like automatic documentation generation instead of having to manually write the API in README.md, also declaration files (*.d.ts) which yield rich experience when people use your modules.

As an example, text-store is one of my packages using TS.

styfle commented 6 years ago

There are at least a couple packages that I know of written in TypeScript:

jorgegonzalez commented 6 years ago

Related: #15, #439