Factory.ts: A Factory Generator for Test Data Using TypeScript

Using mapped types, making factories for test data is a cinch. And I can use mapped types to provide guarantees you simply can’t get in a dynamic language. Read more

Similar

TypeScript vs. Flow

TypeScript calls itself a JavaScript superset and compiler while Flow is a static type checker. TypeScript is developed by Microsoft and highly inspired by C# or Java type systems. What I find interesting is that TypeScript is actually written in TypeScri... (more…)

Read more »