TDD for TypeScript type definitions
Building TS definitions for untyped libraries can be a tough challenge. I recently wanted to add TS definitions for a library which didn't provide any out of the box. While implementing them I wanted to keep my regular TDD workflow and realised that doing TDD for TS types is fairly straight forward. In this post I'll explain the process I've been using.
Tags: typescript, tdd, cleancode