Typed Arguments in TypeScript

tstacos typed args

You can be sure your code works as expected by using typed arguments in your TypeScript code. You can even create interfaces to define what your arguments should look like and the TypeScript compiler will make sure your code adheres to that contract.

This is one step forward in learning Type-Driven-Developement with TypeScript!