DEV Community

Discussion on: Typescript - why to use "unknown" instead of "any"

Collapse
 
bradtaniguchi profile image
Brad

I've ran across unknown when interacting with some libs but never understood what it meant in comparison to any. Now I know thanks!

Collapse
 
arikaturika profile image
Arika O

I've rarely seen it in the wild too, I know what you mean. Glad that it helped :).