Course lesson

Explore TypeScript by Writing Functions

I've found the best way to learn TypeScript is by writing functions with input and outputs. Many of the types you use will be on the parameters of functions and the return type of the function itself. So writing functions, moving things around, breaking...

Duration
5 min
Access
Free
Transcript
Available

I've found the best way to learn TypeScript is by writing functions with input and outputs. Many of the types you use will be on the parameters of functions and the return type of the function itself. So writing functions, moving things around, breaking things, then fixing them based on the compiler suggestions is the quickest way to learn.