oxc-project / oxc

⚓ A collection of JavaScript tools written in Rust.
https://oxc.rs
MIT License
11.32k stars 408 forks source link

napi/transformer: improve diagnostics #6158

Open Boshen opened 1 week ago

Boshen commented 1 week ago
TS(17019)

  x '!' at the end of a type is not valid TypeScript syntax.
   ,-[asdf.tsx:1:8]
 1 | let x: asdf!
   :        ^^^^^
   `----
  help: Did you mean to write 'asdf'?
Boshen commented 1 week ago

We are currently using miette with a forked graphical reporter, I think it's time to fork and consolidate things ...

DonIsaac commented 4 days ago

Ive been working on this, I can take it on if needed