By using TypeScript's static type system, not only can we enforce (typically challenging things like) business rules and error states, but we can create a domain-specific language so well-defined that it becomes virtually impossible for any future code to... (more…)
Read more »
A monorepo is a single repository that is used to manage multiple projects. In this blog post, we’ll explore how to set up a simple monorepo for two npm packages. All we need is already built into npm and TypeScript. (more…)
Read more »
Chapters:- 00:00:00 - Intro- 00:01:04 - Conway's Game of Life- 00:03:04 - Pseudo-Code- 00:09:37 - State Machine- 00:15:02 - Stealing Art from the Internet- 0... (more…)
Read more »
Zero-config build tool to create packages with Rollup and TypeScript - rafgraph/rollpkg... (more…)
Read more »
A few days ago I asked about how folks do error handling in TypeScript and got some useful answers. Here’s what I ended up doing, and a little of the thinking around it. (more…)
Read more »