> void doesn’t introduce any new semantics to the language.
I'm sure the author is most likely aware of this plus the context is around TypeScript but I think it can still be misunderstood and if you haven't been around when IIFE were very common you might not be aware that:
`void` is a javascript operator and it does have semantic meaning, it evaluates an expression and returns undefined.
const a = void 1;
console.log(a); // undefined
see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...