@oxc-project/types 0.54.0 → 0.55.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 +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-project/types",
3
- "version": "0.54.0",
3
+ "version": "0.55.0",
4
4
  "description": "Types for Oxc AST nodes",
5
5
  "keywords": [
6
6
  "AST",
package/types.d.ts CHANGED
@@ -95,8 +95,8 @@ export interface ObjectProperty extends Span {
95
95
  shorthand: boolean;
96
96
  computed: boolean;
97
97
  key: PropertyKey;
98
- kind: PropertyKind;
99
98
  value: Expression;
99
+ kind: PropertyKind;
100
100
  }
101
101
 
102
102
  export type PropertyKey = IdentifierName | PrivateIdentifier | Expression;
@@ -274,8 +274,8 @@ export interface AssignmentTargetPropertyIdentifier extends Span {
274
274
  shorthand: true;
275
275
  computed: false;
276
276
  key: IdentifierReference;
277
- kind: 'init';
278
277
  value: IdentifierReference | AssignmentTargetWithDefault;
278
+ kind: 'init';
279
279
  }
280
280
 
281
281
  export interface AssignmentTargetPropertyProperty extends Span {
@@ -520,8 +520,8 @@ export interface BindingProperty extends Span {
520
520
  shorthand: boolean;
521
521
  computed: boolean;
522
522
  key: PropertyKey;
523
- kind: 'init';
524
523
  value: BindingPattern;
524
+ kind: 'init';
525
525
  }
526
526
 
527
527
  export interface ArrayPattern extends Span {