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.
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.