Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Explore TypeScript by Writing Functions

    typescriptTypeScript
    ^3.2.1

    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.