@oxc-project/types 0.52.0 → 0.53.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 +0 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-project/types",
3
- "version": "0.52.0",
3
+ "version": "0.53.0",
4
4
  "description": "Types for Oxc AST nodes",
5
5
  "keywords": [
6
6
  "AST",
package/types.d.ts CHANGED
@@ -555,12 +555,6 @@ export type FunctionType =
555
555
  | 'TSDeclareFunction'
556
556
  | 'TSEmptyBodyFunctionExpression';
557
557
 
558
- export interface FormalParameters extends Span {
559
- type: 'FormalParameters';
560
- kind: FormalParameterKind;
561
- items: Array<FormalParameter | FormalParameterRest>;
562
- }
563
-
564
558
  export interface FormalParameterRest extends Span {
565
559
  type: 'RestElement';
566
560
  argument: BindingPatternKind;
@@ -577,8 +571,6 @@ export type FormalParameter =
577
571
  })
578
572
  & BindingPattern;
579
573
 
580
- export type FormalParameterKind = 'FormalParameter' | 'UniqueFormalParameters' | 'ArrowFormalParameters' | 'Signature';
581
-
582
574
  export interface FunctionBody extends Span {
583
575
  type: 'BlockStatement';
584
576
  body: Array<Directive | Statement>;
@@ -701,7 +693,6 @@ export interface ImportDeclaration extends Span {
701
693
  type: 'ImportDeclaration';
702
694
  specifiers: Array<ImportDeclarationSpecifier>;
703
695
  source: StringLiteral;
704
- phase: ImportPhase | null;
705
696
  attributes: Array<ImportAttribute>;
706
697
  importKind: ImportOrExportKind;
707
698
  }
@@ -747,7 +738,6 @@ export interface ExportNamedDeclaration extends Span {
747
738
  export interface ExportDefaultDeclaration extends Span {
748
739
  type: 'ExportDefaultDeclaration';
749
740
  declaration: ExportDefaultDeclarationKind;
750
- exported: ModuleExportName;
751
741
  }
752
742
 
753
743
  export interface ExportAllDeclaration extends Span {