Converting a JS library to TypeScript: Part 2
If you missed part one, you can find it here.
Today we're implementing more of test-data-bot's API in TypeScript and diving more into types, interfaces and figuring out how best to model our API through TypeScript. I talk through the pros and cons and my thought process as we figure out the right approach.
You can watch it on YouTube, either by clicking here to view it directly or using the embedded player below. I filmed the video in 1080p so it should be crystal clear 👌.