TypeScript Fundamentals - Diving Deeper - 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.
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.