@oxc-project/types 0.69.0 → 0.70.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 +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-project/types",
3
- "version": "0.69.0",
3
+ "version": "0.70.0",
4
4
  "description": "Types for Oxc AST nodes",
5
5
  "keywords": [
6
6
  "AST",
package/types.d.ts CHANGED
@@ -600,8 +600,10 @@ export type FunctionType =
600
600
  export interface FormalParameterRest extends Span {
601
601
  type: 'RestElement';
602
602
  argument: BindingPatternKind;
603
- typeAnnotation: TSTypeAnnotation | null;
604
- optional: boolean;
603
+ decorators?: [];
604
+ optional?: boolean;
605
+ typeAnnotation?: TSTypeAnnotation | null;
606
+ value?: null;
605
607
  }
606
608
 
607
609
  export type FormalParameter =