-
-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
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
fix(estree): make type of BigIntLiteral::raw
prop in ESTree AST optional
#7663
fix(estree): make type of BigIntLiteral::raw
prop in ESTree AST optional
#7663
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
BigIntLiteral::raw
prop in ESTree optionalBigIntLiteral::raw
prop in ESTree AST optional
CodSpeed Performance ReportMerging #7663 will not alter performanceComparing Summary
|
58e33b8
to
f66b55c
Compare
883208c
to
a8c61c6
Compare
Merge activity
|
…ional (#7663) `BigIntLiteral`'s `raw` field is not an `Option` on Rust side, but this is an internal implementation detail - we may parse bigints to a `BigInt` in future (as we did in the past before we hit a memory leak problem), and make `raw` an `Option`. So at present, the `raw` field is always non-null in JS-side AST. But update the TS type def to reflect that it should be an optional property. This aligns with ESTree.
f66b55c
to
cbba26c
Compare
a8c61c6
to
2179b93
Compare
BigIntLiteral
'sraw
field is not anOption
on Rust side, but this is an internal implementation detail - we may parse bigints to aBigInt
in future (as we did in the past before we hit a memory leak problem), and makeraw
anOption
.So at present, the
raw
field is always non-null in JS-side AST. But update the TS type def to reflect that it should be an optional property. This aligns with ESTree.