@oxc-project/types 0.120.0 → 0.122.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 +8 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-project/types",
3
- "version": "0.120.0",
3
+ "version": "0.122.0",
4
4
  "description": "Types for Oxc AST nodes",
5
5
  "keywords": [
6
6
  "AST",
package/types.d.ts CHANGED
@@ -1670,6 +1670,14 @@ export interface JSDocUnknownType extends Span {
1670
1670
  parent?: Node;
1671
1671
  }
1672
1672
 
1673
+ export type ModuleKind = "script" | "module" | "commonjs";
1674
+
1675
+ export interface Span {
1676
+ start: number;
1677
+ end: number;
1678
+ range?: [number, number];
1679
+ }
1680
+
1673
1681
  export type AssignmentOperator =
1674
1682
  | "="
1675
1683
  | "+="
@@ -1718,14 +1726,6 @@ export type UnaryOperator = "+" | "-" | "!" | "~" | "typeof" | "void" | "delete"
1718
1726
 
1719
1727
  export type UpdateOperator = "++" | "--";
1720
1728
 
1721
- export interface Span {
1722
- start: number;
1723
- end: number;
1724
- range?: [number, number];
1725
- }
1726
-
1727
- export type ModuleKind = "script" | "module" | "commonjs";
1728
-
1729
1729
  export type Node =
1730
1730
  | Program
1731
1731
  | IdentifierName