We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type declarations claims that ctxt attribute are part of span object: https://github.com/swc-project/swc/blob/85cc2bd79c3193cb0a8b54e4fce0efc1aa15b271/packages/types/index.ts#L1163C1-L1167C2
ctxt
span
But in fact there are located placed next to each other:
input:
let a;
AST:
{ "body": [ { "type": "VariableDeclaration", "span": { "start": 0, "end": 6 }, "ctxt": 0 } ] }
The text was updated successfully, but these errors were encountered:
swc
Actually we don't recommend using parse from JS.
parse
Sorry, something went wrong.
No branches or pull requests
Type declarations claims that
ctxt
attribute are part ofspan
object:https://github.com/swc-project/swc/blob/85cc2bd79c3193cb0a8b54e4fce0efc1aa15b271/packages/types/index.ts#L1163C1-L1167C2
But in fact there are located placed next to each other:
input:
AST:
The text was updated successfully, but these errors were encountered: