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

Using Assertion to Convert Types in TypeScript

Using Assertion to Convert Types in TypeScript

2:09
Sometimes the compiler needs help figuring out a type. In this lesson we learn how to help out the compiler with Typescript type assertion.
Watch this lesson now
Avatar
egghead.io

Sometimes the compiler needs help figuring out a type. In this lesson we learn how to help out the compiler with Typescript type assertion.

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