Understanding any and unknown in TypeScript. Difference between never and void
When implementing TypeScript in our projects, we strive to write the best typings we can. We might often feel like using the any type defeats the purpose of TypeScript, and rightfully so. There are also some other types worth knowing, and we might find them useful when trying not to use any, like the unknown. In this article, we […]