nevertype is very under-discussed, because it’s not nearly as ubiquitous or inescapable as other types. A TypeScript beginner can probably ignore
nevertype as it only appears when dealing with advanced types, such as conditional types, or reading their cryptic type error messages.
nevertype does have quite a few good use cases in TypeScript. However, it also has its own pitfalls you need to be careful of.
In this blog post, I will cover:
- The meaning of
nevertype and why we need it.
- Practical applications and pitfalls of
- a lot of puns
Read in full here:
This thread was posted by one of our members via one of our news source trackers.