What does 'void' in typescript mean?
This is just a type, as documented here:
Void
Perhaps the opposite in some ways to 'any' is 'void', the absence of having any type at all. You may commonly see this as the return type of functions that do not return a value:
function warnUser(): void {
alert("This is my warning message");
}