oxc/npm/oxc-types
overlookmotel 2179b93729 fix(estree): make type of BigIntLiteral::raw prop in ESTree AST optional (#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.
2024-12-05 04:00:57 +00:00
..
CHANGELOG.md release(crates): v0.39.0 (#7643) 2024-12-04 19:43:22 +08:00
package.json release(crates): v0.39.0 (#7643) 2024-12-04 19:43:22 +08:00
README.md feat(ast_tools): output typescript to a separate package (#6755) 2024-10-24 13:08:57 +00:00
types.d.ts fix(estree): make type of BigIntLiteral::raw prop in ESTree AST optional (#7663) 2024-12-05 04:00:57 +00:00

Oxc Types

Typescript definitions for Oxc AST nodes.