It currently returns a "possibly unusable and impossible" type to rise error at compilation time.
However, something like ts-pattern exhaustive would be great.
It really fails at compilation (when the current implementation returns another type) and it also give some information about the non-exhaustive patterns.
The objectifs are:
It currently returns a "possibly unusable and impossible" type to rise error at compilation time.
However, something like ts-pattern exhaustive would be great.
It really fails at compilation (when the current implementation returns another type) and it also give some information about the non-exhaustive patterns.
The objectifs are:
ts-error