28 Jun

Converting a JS library to TypeScript: Part 3

Today we're continuing to convert test-data-bot into TypeScript.

If you missed the prior videos, you can find them here: Part 1 and Part 2.

Today we’re implementing more of test-data-bot’s API in TypeScript and diving into using 3rd party libraries, specifically the FakerJS library. We’ll see how best to think about and model types by recognising a situation where our first typed approach has failed to provide clarity, and see how time thinking about remodelling types really pays off.

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 👌.

If you enjoyed this post, signup to the newsletter to be notified when there's new content, new courses and exclusive offers.

If you enjoyed this article please feel free to share it on Twitter.