@oxc-project/types 0.64.0 → 0.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-project/types",
3
- "version": "0.64.0",
3
+ "version": "0.65.0",
4
4
  "description": "Types for Oxc AST nodes",
5
5
  "keywords": [
6
6
  "AST",
package/types.d.ts CHANGED
@@ -286,6 +286,9 @@ export interface AssignmentTargetWithDefault extends Span {
286
286
  type: 'AssignmentPattern';
287
287
  left: AssignmentTarget;
288
288
  right: Expression;
289
+ decorators?: [];
290
+ optional?: false;
291
+ typeAnnotation?: null;
289
292
  }
290
293
 
291
294
  export type AssignmentTargetProperty = AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty;
@@ -533,6 +536,8 @@ export interface AssignmentPattern extends Span {
533
536
  left: BindingPattern;
534
537
  right: Expression;
535
538
  decorators?: [];
539
+ optional?: false;
540
+ typeAnnotation?: null;
536
541
  }
537
542
 
538
543
  export interface ObjectPattern extends Span {
@@ -1206,8 +1211,8 @@ export interface TSClassImplements extends Span {
1206
1211
  export interface TSInterfaceDeclaration extends Span {
1207
1212
  type: 'TSInterfaceDeclaration';
1208
1213
  id: BindingIdentifier;
1209
- extends: Array<TSInterfaceHeritage>;
1210
1214
  typeParameters: TSTypeParameterDeclaration | null;
1215
+ extends: Array<TSInterfaceHeritage>;
1211
1216
  body: TSInterfaceBody;
1212
1217
  declare: boolean;
1213
1218
  }