@hongminheeๆดช ๆฐๆ (Hong Minhee) yeah, so I want this in typescript. The lack of types for errors thrown in typescript is it's biggest oversight imo.
@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.