@oxc-project/types 0.96.0 → 0.97.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 +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-project/types",
3
- "version": "0.96.0",
3
+ "version": "0.97.0",
4
4
  "description": "Types for Oxc AST nodes",
5
5
  "type": "module",
6
6
  "keywords": [
package/types.d.ts CHANGED
@@ -669,6 +669,7 @@ export interface FormalParameterRest extends Span {
669
669
  optional?: boolean;
670
670
  typeAnnotation?: TSTypeAnnotation | null;
671
671
  value?: null;
672
+ parent?: Node;
672
673
  }
673
674
 
674
675
  export type FormalParameter = {
@@ -683,6 +684,7 @@ export interface TSParameterProperty extends Span {
683
684
  parameter: FormalParameter;
684
685
  readonly: boolean;
685
686
  static: boolean;
687
+ parent?: Node;
686
688
  }
687
689
 
688
690
  export interface FunctionBody extends Span {