When you want to return a value but have no information. Typescript/Javascript has no direct support for this but we can emulate it by creating a type alias for Symbol.
The Unit type
When you want to return a value but have no information. Typescript/Javascript has no direct support for this but we can emulate it by creating a type alias for Symbol.
See
The Unit type