testdouble / testdouble.js

A minimal test double library for TDD with JavaScript
MIT License
1.42k stars 142 forks source link

Planning Discussion for a move to TypeScript #252

Closed duluca closed 6 years ago

duluca commented 7 years ago

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

Cons

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

searls commented 6 years ago

Closing this issue since technically we have migrated to typescript, even though 99% of the code files are still .js