PartMan7 / PartBotter

Successor to PartBot. Old repository: https://github.com/PartMan7/PartBot
MIT License
1 stars 0 forks source link

IDEs use pre-transformed types and show errors for JSX #14

Closed PartMan7 closed 5 months ago

PartMan7 commented 6 months ago

image

tsc and ts-node both pass; investigate!

PartMan7 commented 5 months ago

Mostly resolved in https://github.com/PartMan7/PartBotter/commit/9b950e070d0dc026dfad55ae9e272e5f0a2bcf51; this is unfortunately overly aggressive and may remove actual errors.

I'm unable to access the AST in the diagnostic, and I don't want to run an AST parser on every single call, so for now I guess this works (only specifically removes cases where Element is cast into a string within src/ps, and tsc tests will still fail accordingly)