The Role of Void Type in TypeScript
If you have been using TypeScript, you probably already heard about void type.
It might seem a simple concept at first, but it plays a significant role in TypeScript development, especially in the context of functions.
In this article, we will talk a...
ugneadomaityte.hashnode.dev2 min read
The Murph
Software Engineer
Allowing void for variables reminds me why I generally don't like the TS type system as much as others :/ seems like a weird choice to allow it.