Improving Error Messages for Union Types in TypeScript
Hi guys. For an union like this:
How do I improve the error message? I ask that because when I decode an invalid value, I get something like:
How do I improve the error message? I ask that because when I decode an invalid value, I get something like:
ArrayFormatter also gives me 3 issues instead of one, which makes it quite hard to work with