@lezer/javascript
Advanced tools
Changelog
1.4.19 (2024-10-08)
Support question marks after method names in TypeScript object type notation.
Support bracketed property names in TypeScript object types.
Allow TypeScript interface declarations to extend multiple types.
Changelog
1.4.18 (2024-09-17)
Support as
syntax in mapped object types.
Make sure the parser doesn't get confused when a template interpolation is missing its expression.
Changelog
1.4.17 (2024-06-11)
Add support for {-readonly [K in T]-?: U}
TypeScript syntax.
Changelog
1.4.16 (2024-05-04)
Don't consume ?.
tokens when followed by a digit.
Support type arguments on non-call expressions.
Changelog
1.4.14 (2024-03-30)
Recognize the d
and v
RegExp flags. Support destructured parameters in function types
Allow destructured parameters in function signature types.
Changelog
1.4.13 (2024-01-16)
Fix inverted relative precedence of &
, |
, and ^
bitwise operators.
Add an explicit dependency on @lezer/common ^1.2.0.
Changelog
1.4.12 (2024-01-04)
Mark strings, comments, and interpolations as isolating for bidirectional text.
Changelog
1.4.11 (2023-12-18)
In TSX mode, parse <T,>
or <T extends U>
as type parameters, not JSX tags.