@thisismissemEmelia 👸🏻 There's actually an issue in the TypeScript repo proposing exactly this! Many developers agree that typed errors would be a huge improvement. The current “try/catch any” approach feels like a gap in TS's otherwise strong type system.

0
0

If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/0195b7d5-31dd-79c7-9ef1-3736c4357eda on your instance and quote it. (Note that quoting is not supported in Mastodon.)