fta
fta copied to clipboard
[Bug] `import with` breaks parsing of file
For example https://github.com/Idrinth/api-bench/blob/master/framework/src/cli/cli.ts#L15
Thx for reporting. The internal swc libs will need to be upgraded to support this new syntax.
Specifically this is import attributes (TS 5.3): https://github.com/tc39/proposal-import-attributes
It's not a show stopper for me luckily, but I'd love to have all files analyzed.
FYI, I tested this in a branch using recent versions of the internal swc libs, but this syntax is still not supported yet. I'm unsure why as yet, as I'm fairly sure swc will compile syntax like that (I have not verified this)