gcanti / io-ts

Runtime type system for IO decoding/encoding
https://gcanti.github.io/io-ts/
MIT License
6.7k stars 328 forks source link

Can anyone explain why the `t.never` is deprecated and what to use instead? #624

Open tbinna opened 2 years ago

tbinna commented 2 years ago

📖 Documentation

I could not find any details on why the never codec is deprecated, or what to use instead. Is there any documentation or explanation for this?

Just for reference, the deprecation was made in this commit: https://github.com/gcanti/io-ts/commit/879402d56471a0775156761cc2ebe6a48d51b2b7