TypeScript’s ‘any’ vs. ‘unknown’ Types and Their Proper Use
Since the introduction of the unknown type in TypeScript, sometimes it might feel confusing when to use it and how.
On top of that, we have any type, that is similar to the unknown type, but the key difference is that the unknown is type-safe.
This r...
ugneadomaityte.hashnode.dev2 min read