Published on September 6, 2019 Stefan on Mastodon Reading time: 4 minutes More on TypeScript, JavaScript If you come from traditional, strongly typed languages you might be familiar with the concept of void: A type telling you that functions and methods return nothing when called. void exists in both JavaScript as an operator and in TypeScript as a primitive type. And in both worlds void works a l
![void in JavaScript and TypeScript](https://cdn-ak-scissors.b.st-hatena.com/image/square/5622a95ebee655e2d2f966141f347517e5a18c5a/height=288;version=1;width=512/https%3A%2F%2Ffettblog.eu%2Fteasers%2Fvoid-in-javascript-and-typescript.jpg)