Closed duluca closed 6 years ago
@searls Here's a good intro to creating TypeScript-based npm packages: https://dev.to/dkundel/writing-a-nodejs-module-in-typescript
Here's a TypeScript library starter that encapsulates best practices for creating packages that can target node
and the browser
which is what's needed for this project: https://github.com/Hotell/typescript-lib-starter
I'm going to update my TypeScript library https://github.com/duluca/documentts/ to test out the config and report back the findings.
Closing this issue since technically we have migrated to typescript, even though 99% of the code files are still .js
This is a planning discussion thread. Comments may be used to share code snippets and ideas or to add/correct pros/cons list.
Plan
Pros
dom
support with TypeScript's robust transpiling support for ES8 to ES3.Cons