> null/undefined is an inhabitant of every type in typescript, I would suggest purescript instead.
If you want absolute certainty in your types with TS, you should be using the `--strict` flag, which makes it so this is not the case.
If you want absolute certainty in your types with TS, you should be using the `--strict` flag, which makes it so this is not the case.
For example (included with --strict):
https://www.typescriptlang.org/play/#src=class%20Base%20%7B%...
(I like TS, I just don't think it fully solves this problem!)