Starting to get TypeScript

I gotta say I’m starting to get the appeal of TypeScript. I wired it up with my testing script, so now when I run yarn test it automatically compiles the TypeScript and then executes my tests against the compiled code. Having the TypeScript compiler catch errors I might not have noticed is kinda nice. In the featured image you can see what happened when I intentionally passed the wrong data type into a function in my test suite. Didn’t even get to the test because it failed the TS compile. That’s kinda nice I guess.