@oxc-project/types 0.108.0 → 0.110.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 +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-project/types",
3
- "version": "0.108.0",
3
+ "version": "0.110.0",
4
4
  "description": "Types for Oxc AST nodes",
5
5
  "keywords": [
6
6
  "AST",
package/types.d.ts CHANGED
@@ -1563,8 +1563,8 @@ export interface TSConstructorType extends Span {
1563
1563
 
1564
1564
  export interface TSMappedType extends Span {
1565
1565
  type: "TSMappedType";
1566
- key: TSTypeParameter["name"];
1567
- constraint: TSTypeParameter["constraint"];
1566
+ key: BindingIdentifier;
1567
+ constraint: TSType;
1568
1568
  nameType: TSType | null;
1569
1569
  typeAnnotation: TSType | null;
1570
1570
  optional: TSMappedTypeModifierOperator | false;
@@ -1724,7 +1724,7 @@ export interface Span {
1724
1724
  range?: [number, number];
1725
1725
  }
1726
1726
 
1727
- export type ModuleKind = "script" | "module";
1727
+ export type ModuleKind = "script" | "module" | "commonjs";
1728
1728
 
1729
1729
  export type Node =
1730
1730
  | Program