Published on

TypeScript NEVER type

Authors

TypeScript NEVER type

TypeScript NEVER type

Is a type that Typescript uses when I function never returns a value.

Fallback text 1

Interesting case of never usage, maybe it can be better handled to make sure all cases are implemented:

Fallback text 2

You could use a eslint check to make sure all cases are handled:

Fallback text 3