@typescript-eslint/types 6.0.0 → 7.0.0-alpha.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.
@@ -1,5 +0,0 @@
1
- export { AST_NODE_TYPES, AST_TOKEN_TYPES } from './generated/ast-spec';
2
- export * from './lib';
3
- export * from './parser-options';
4
- export * from './ts-estree';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +0,0 @@
1
- type Lib = 'decorators.legacy' | 'decorators' | 'dom.iterable' | 'dom' | 'es5' | 'es6' | 'es7' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol.wellknown' | 'es2015.symbol' | 'es2015' | 'es2016.array.include' | 'es2016.full' | 'es2016' | 'es2017.full' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2017' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.full' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2018' | 'es2019.array' | 'es2019.full' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2019' | 'es2020.bigint' | 'es2020.date' | 'es2020.full' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2020' | 'es2021.full' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2021' | 'es2022.array' | 'es2022.error' | 'es2022.full' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.sharedmemory' | 'es2022.string' | 'es2022' | 'es2023.array' | 'es2023.full' | 'es2023' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.full' | 'esnext.intl' | 'esnext.promise' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'esnext' | 'lib' | 'scripthost' | 'webworker.importscripts' | 'webworker.iterable' | 'webworker';
2
- export { Lib };
3
- //# sourceMappingURL=lib.d.ts.map
@@ -1,39 +0,0 @@
1
- import type { Program } from 'typescript';
2
- import type { Lib } from './lib';
3
- type DebugLevel = ('eslint' | 'typescript-eslint' | 'typescript')[] | boolean;
4
- type CacheDurationSeconds = number | 'Infinity';
5
- type EcmaVersion = 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022;
6
- type SourceType = 'module' | 'script';
7
- interface ParserOptions {
8
- ecmaFeatures?: {
9
- globalReturn?: boolean;
10
- jsx?: boolean;
11
- };
12
- ecmaVersion?: EcmaVersion | 'latest';
13
- jsxPragma?: string | null;
14
- jsxFragmentName?: string | null;
15
- lib?: Lib[];
16
- emitDecoratorMetadata?: boolean;
17
- comment?: boolean;
18
- debugLevel?: DebugLevel;
19
- errorOnTypeScriptSyntacticAndSemanticIssues?: boolean;
20
- errorOnUnknownASTType?: boolean;
21
- EXPERIMENTAL_useSourceOfProjectReferenceRedirect?: boolean;
22
- extraFileExtensions?: string[];
23
- filePath?: string;
24
- loc?: boolean;
25
- program?: Program | null;
26
- project?: string[] | string | true | null;
27
- projectFolderIgnoreList?: (RegExp | string)[];
28
- range?: boolean;
29
- sourceType?: SourceType;
30
- tokens?: boolean;
31
- tsconfigRootDir?: string;
32
- warnOnUnsupportedTypeScriptVersion?: boolean;
33
- cacheLifetime?: {
34
- glob?: CacheDurationSeconds;
35
- };
36
- [additionalProperties: string]: unknown;
37
- }
38
- export { CacheDurationSeconds, DebugLevel, EcmaVersion, ParserOptions, SourceType, };
39
- //# sourceMappingURL=parser-options.d.ts.map
@@ -1,14 +0,0 @@
1
- import type * as TSESTree from './generated/ast-spec';
2
- declare module './generated/ast-spec' {
3
- interface BaseNode {
4
- parent: TSESTree.Node;
5
- }
6
- interface Program {
7
- /**
8
- * @remarks This never-used property exists only as a convenience for code that tries to access node parents repeatedly.
9
- */
10
- parent?: never;
11
- }
12
- }
13
- export * as TSESTree from './generated/ast-spec';
14
- //# sourceMappingURL=ts-estree.d.ts.map