@lezer/javascript
Advanced tools
Changelog
1.3.2 (2022-12-14)
Typescript allows override
on all class elements, not just methods.
Allow expressions in class extends clauses in TypeScript.
Changelog
1.3.1 (2022-11-29)
Actually emit a tree node for the @
characters in decorators.
Changelog
1.2.0 (2022-11-24)
The grammar now supports top: "SingleExpression"
to parse an expression rather than a script.
Changelog
1.1.1 (2022-11-19)
Fix parsing of computed properties in class declarations.
Changelog
1.1.0 (2022-11-17)
Fix parsing of 'null' as type in TypeScript.
Allow computed properties in object destructuring patterns.
Add TypeScript 4.9's satisfies
operator.
Support accessor
syntax on class properties.
Add support for optional call syntax.
Distinguish lower-case JSX element names syntactically, give them a standard(tagName)
highlight tag.
Changelog
1.0.1 (2022-06-27)
Fix parsing of TypeScript conditional types.
Support type parameters in TypeScript function type syntax.
Changelog
0.16.0 (2022-04-20)
Move to 0.16 serialized parser format.
Allow commas as separators in TypeScript object type syntax.
Add CatchClause
and FinallyClause
nodes wrapping parts of TryStatement
.
The parser now includes syntax highlighting information in its node types.