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

Advanced TypeScript Type Tricks

After spending some time in TypeScript you may begin to crave type safety everywhere in your life. JavaScript is an inherently unsafe language and there are dragons to be found everywhere and in almost every framework. Most frameworks are sufficiently cov... (more…)

Read more »