@oxc-project/types 0.80.0 → 0.82.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 +10 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-project/types",
3
- "version": "0.80.0",
3
+ "version": "0.82.0",
4
4
  "description": "Types for Oxc AST nodes",
5
5
  "keywords": [
6
6
  "AST",
package/types.d.ts CHANGED
@@ -1351,10 +1351,18 @@ export interface TSImportType extends Span {
1351
1351
  type: 'TSImportType';
1352
1352
  argument: TSType;
1353
1353
  options: ObjectExpression | null;
1354
- qualifier: TSTypeName | null;
1354
+ qualifier: TSImportTypeQualifier | null;
1355
1355
  typeArguments: TSTypeParameterInstantiation | null;
1356
1356
  }
1357
1357
 
1358
+ export type TSImportTypeQualifier = IdentifierName | TSImportTypeQualifiedName;
1359
+
1360
+ export interface TSImportTypeQualifiedName extends Span {
1361
+ type: 'TSQualifiedName';
1362
+ left: TSImportTypeQualifier;
1363
+ right: IdentifierName;
1364
+ }
1365
+
1358
1366
  export interface TSFunctionType extends Span {
1359
1367
  type: 'TSFunctionType';
1360
1368
  typeParameters: TSTypeParameterDeclaration | null;
@@ -1684,6 +1692,7 @@ export type Node =
1684
1692
  | TSInferType
1685
1693
  | TSTypeQuery
1686
1694
  | TSImportType
1695
+ | TSImportTypeQualifiedName
1687
1696
  | TSFunctionType
1688
1697
  | TSConstructorType
1689
1698
  | TSMappedType