Slides / VideoBeginner
The unknown Type in TypeScript
The unknown type accepts any value but forces you to check its type before using it, making it the safe sibling of any.
1 / 6
The unknown type accepts any value but forces you to check its type before using it, making it the safe sibling of any.