Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

TypeScript Fundamentals

The Unknown Type in Typescript thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

The Unknown Type in Typescript

In this lesson, we learn to combine the unknown type with type assertions to force callers of our functions to think about the returned type and explicitly state it.