@oxc-project/types 0.72.2 → 0.72.3

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 +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-project/types",
3
- "version": "0.72.2",
3
+ "version": "0.72.3",
4
4
  "description": "Types for Oxc AST nodes",
5
5
  "keywords": [
6
6
  "AST",
package/types.d.ts CHANGED
@@ -524,8 +524,8 @@ export interface DebuggerStatement extends Span {
524
524
 
525
525
  export type BindingPattern =
526
526
  & ({
527
- typeAnnotation?: TSTypeAnnotation | null;
528
527
  optional?: boolean;
528
+ typeAnnotation?: TSTypeAnnotation | null;
529
529
  })
530
530
  & (BindingIdentifier | ObjectPattern | ArrayPattern | AssignmentPattern);
531
531
 
@@ -1700,4 +1700,4 @@ export type Node =
1700
1700
  | JSDocNullableType
1701
1701
  | JSDocNonNullableType
1702
1702
  | JSDocUnknownType
1703
- | FormalParameterRest;
1703
+ | ParamPattern;