The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Function Overloads in Typescript

Function Overloads in Typescript

3:46
It's common in Javascript for functions to accept different argument types and to also return different types. In this lesson we learn how to 'teach' Typescript about these dynamic functions so that we can still benefit from the powerful static type analysis.
Watch this lesson now
Avatar
egghead.io

It's common in Javascript for functions to accept different argument types and to also return different types. In this lesson we learn how to 'teach' Typescript about these dynamic functions so that we can still benefit from the powerful static type analysis.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?