3 ms·
> I make heavy use of types in TypeScript, but the error messages when something is out of order (ever so slightly) is just so brutal at times, with error messa
by DanRosenwasser 7y ago
> I make heavy use of types in TypeScript, but the error messages when something is out of order (ever so slightly) is just so brutal at times, with error messages being 20+ lines long, where only the last line might be relevant. I, for one, welcome our helpful error message overlords.
If you've got examples of cases where we can do better, feel free to file an issue! We want to do better.
- cuddlecake 7y ago> If you've got examples of cases where we can do better, feel free to file an issue! We want to do better Thanks for letting me know.
- cuddlecake 7y agoSaw that you tweeted an example of error log improvements, which is exactly what I meant with the 20+ lines of error messages with only the last one being relevant. Now I just need to wait until Typescript 3.7 trickles down to all my dependencies so I can get that goodness. Sigh. Sigh.