@typescript-eslint/type-utils 6.0.0-alpha.161 → 6.0.0-alpha.163

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.
@@ -2,19 +2,19 @@ import type { JSONSchema4 } from '@typescript-eslint/utils/json-schema';
2
2
  import type * as ts from 'typescript';
3
3
  interface FileSpecifier {
4
4
  from: 'file';
5
- name: string | string[];
5
+ name: string[] | string;
6
6
  path?: string;
7
7
  }
8
8
  interface LibSpecifier {
9
9
  from: 'lib';
10
- name: string | string[];
10
+ name: string[] | string;
11
11
  }
12
12
  interface PackageSpecifier {
13
13
  from: 'package';
14
- name: string | string[];
14
+ name: string[] | string;
15
15
  package: string;
16
16
  }
17
- export type TypeOrValueSpecifier = string | FileSpecifier | LibSpecifier | PackageSpecifier;
17
+ export type TypeOrValueSpecifier = FileSpecifier | LibSpecifier | PackageSpecifier | string;
18
18
  export declare const typeOrValueSpecifierSchema: JSONSchema4;
19
19
  export declare function typeMatchesSpecifier(type: ts.Type, specifier: TypeOrValueSpecifier, program: ts.Program): boolean;
20
20
  export {};
@@ -2,19 +2,19 @@ import type { JSONSchema4 } from '@typescript-eslint/utils/json-schema';
2
2
  import type * as ts from 'typescript';
3
3
  interface FileSpecifier {
4
4
  from: 'file';
5
- name: string | string[];
5
+ name: string[] | string;
6
6
  path?: string;
7
7
  }
8
8
  interface LibSpecifier {
9
9
  from: 'lib';
10
- name: string | string[];
10
+ name: string[] | string;
11
11
  }
12
12
  interface PackageSpecifier {
13
13
  from: 'package';
14
- name: string | string[];
14
+ name: string[] | string;
15
15
  package: string;
16
16
  }
17
- export type TypeOrValueSpecifier = string | FileSpecifier | LibSpecifier | PackageSpecifier;
17
+ export type TypeOrValueSpecifier = FileSpecifier | LibSpecifier | PackageSpecifier | string;
18
18
  export declare const typeOrValueSpecifierSchema: JSONSchema4;
19
19
  export declare function typeMatchesSpecifier(type: ts.Type, specifier: TypeOrValueSpecifier, program: ts.Program): boolean;
20
20
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"TypeOrValueSpecifier.d.ts","sourceRoot":"","sources":["../src/TypeOrValueSpecifier.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,YAAY;IACpB,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CACzB;AAED,UAAU,gBAAgB;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,oBAAoB,GAC5B,MAAM,GACN,aAAa,GACb,YAAY,GACZ,gBAAgB,CAAC;AAErB,eAAO,MAAM,0BAA0B,EAAE,WA0FxC,CAAC;AA+CF,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,SAAS,EAAE,oBAAoB,EAC/B,OAAO,EAAE,EAAE,CAAC,OAAO,GAClB,OAAO,CAsBT"}
1
+ {"version":3,"file":"TypeOrValueSpecifier.d.ts","sourceRoot":"","sources":["../src/TypeOrValueSpecifier.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,YAAY;IACpB,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;CACzB;AAED,UAAU,gBAAgB;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,oBAAoB,GAC5B,aAAa,GACb,YAAY,GACZ,gBAAgB,GAChB,MAAM,CAAC;AAEX,eAAO,MAAM,0BAA0B,EAAE,WA0FxC,CAAC;AA+CF,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,SAAS,EAAE,oBAAoB,EAC/B,OAAO,EAAE,EAAE,CAAC,OAAO,GAClB,OAAO,CAsBT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/type-utils",
3
- "version": "6.0.0-alpha.161+5ea887d9e",
3
+ "version": "6.0.0-alpha.163+3cdf5c931",
4
4
  "description": "Type utilities for working with TypeScript + ESLint together",
5
5
  "files": [
6
6
  "dist",
@@ -45,13 +45,13 @@
45
45
  "typecheck": "tsc -p tsconfig.json --noEmit"
46
46
  },
47
47
  "dependencies": {
48
- "@typescript-eslint/typescript-estree": "6.0.0-alpha.161+5ea887d9e",
49
- "@typescript-eslint/utils": "6.0.0-alpha.161+5ea887d9e",
48
+ "@typescript-eslint/typescript-estree": "6.0.0-alpha.163+3cdf5c931",
49
+ "@typescript-eslint/utils": "6.0.0-alpha.163+3cdf5c931",
50
50
  "debug": "^4.3.4",
51
51
  "ts-api-utils": "^1.0.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@typescript-eslint/parser": "6.0.0-alpha.161+5ea887d9e",
54
+ "@typescript-eslint/parser": "6.0.0-alpha.163+3cdf5c931",
55
55
  "ajv": "^8.12.0",
56
56
  "typescript": "*"
57
57
  },
@@ -74,5 +74,5 @@
74
74
  ]
75
75
  }
76
76
  },
77
- "gitHead": "5ea887d9e44a9b2ec1589fb7a1c0c7096aedc2d2"
77
+ "gitHead": "3cdf5c93163036fdc60325129d9746ff57574336"
78
78
  }