@oxc-project/types 0.51.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.
- package/package.json +1 -1
- package/types.d.ts +0 -17
package/package.json
CHANGED
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
|
}
|
|
@@ -727,12 +718,6 @@ export interface ImportNamespaceSpecifier extends Span {
|
|
|
727
718
|
local: BindingIdentifier;
|
|
728
719
|
}
|
|
729
720
|
|
|
730
|
-
export interface WithClause extends Span {
|
|
731
|
-
type: 'WithClause';
|
|
732
|
-
attributesKeyword: IdentifierName;
|
|
733
|
-
withEntries: Array<ImportAttribute>;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
721
|
export interface ImportAttribute extends Span {
|
|
737
722
|
type: 'ImportAttribute';
|
|
738
723
|
key: ImportAttributeKey;
|
|
@@ -753,7 +738,6 @@ export interface ExportNamedDeclaration extends Span {
|
|
|
753
738
|
export interface ExportDefaultDeclaration extends Span {
|
|
754
739
|
type: 'ExportDefaultDeclaration';
|
|
755
740
|
declaration: ExportDefaultDeclarationKind;
|
|
756
|
-
exported: ModuleExportName;
|
|
757
741
|
}
|
|
758
742
|
|
|
759
743
|
export interface ExportAllDeclaration extends Span {
|
|
@@ -947,7 +931,6 @@ export interface TSLiteralType extends Span {
|
|
|
947
931
|
|
|
948
932
|
export type TSLiteral =
|
|
949
933
|
| BooleanLiteral
|
|
950
|
-
| NullLiteral
|
|
951
934
|
| NumericLiteral
|
|
952
935
|
| BigIntLiteral
|
|
953
936
|
| StringLiteral
|