mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-15 18:14:28 +00:00
* Minor fixes/adjustments to ESTree - Add `type: string` to base interface to allow only strings for `type` in any descendants. - Change `UnaryExpression::prefix` to `true` (since it can never be false and is just a backwards compatibility artefact). - Add absent / `null` as a valid `RegexpLiteral::value` (it's used by compliant parsers/tools when RegExp can't be natively represented). - Make `Literal::raw` optional to allow creating nodes without one. - Add missing `type` and location properties to `Comment` node. * Update index.d.ts