@typescript-eslint/types 8.47.1-alpha.10 → 8.47.1-alpha.12

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.
@@ -1121,6 +1121,9 @@ export declare type OptionalRangeAndLoc<T> = {
1121
1121
  range?: Range;
1122
1122
  } & Pick<T, Exclude<keyof T, 'loc' | 'range'>>;
1123
1123
  export declare type Parameter = ArrayPattern | AssignmentPattern | Identifier | ObjectPattern | RestElement | TSParameterProperty;
1124
+ declare type ParameterPropertyParameter = (AssignmentPattern & {
1125
+ left: Identifier;
1126
+ }) | Identifier;
1124
1127
  export declare interface Position {
1125
1128
  /**
1126
1129
  * Column number on the line (0-indexed)
@@ -1614,9 +1617,11 @@ export declare interface TSImportEqualsRequireDeclaration extends TSImportEquals
1614
1617
  }
1615
1618
  export declare interface TSImportType extends BaseNode {
1616
1619
  type: AST_NODE_TYPES.TSImportType;
1620
+ /** @deprecated Use {@link `source`} instead. */
1617
1621
  argument: TypeNode;
1618
1622
  options: ObjectExpression | null;
1619
1623
  qualifier: EntityName | null;
1624
+ source: StringLiteral;
1620
1625
  typeArguments: TSTypeParameterInstantiation | null;
1621
1626
  }
1622
1627
  export declare interface TSIndexedAccessType extends BaseNode {
@@ -1870,7 +1875,7 @@ export declare interface TSParameterProperty extends BaseNode {
1870
1875
  accessibility: Accessibility | undefined;
1871
1876
  decorators: Decorator[];
1872
1877
  override: boolean;
1873
- parameter: AssignmentPattern | BindingName | RestElement;
1878
+ parameter: ParameterPropertyParameter;
1874
1879
  readonly: boolean;
1875
1880
  static: boolean;
1876
1881
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/types",
3
- "version": "8.47.1-alpha.10",
3
+ "version": "8.47.1-alpha.12",
4
4
  "description": "Types for the TypeScript-ESTree AST spec",
5
5
  "files": [
6
6
  "dist",