In Elixir, there is a set of compile-time errors (e.g. misspelling a variable) that will cause the process to crash, forcing you to fix them.
In TypeScript, the compile-time error will be emitted but won’t crash the app.
I was wondering if there is a way to roughly replicate the behaviour of Elixir’s compiler via TypeScript’s config. (I’ve already glanced through its