@typescript-eslint/types 6.3.1-alpha.20 → 6.3.1-alpha.21
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.
- package/_ts4.3/dist/generated/ast-spec.d.ts +1819 -0
- package/_ts4.3/dist/index.d.ts +5 -0
- package/_ts4.3/dist/lib.d.ts +3 -0
- package/_ts4.3/dist/parser-options.d.ts +40 -0
- package/_ts4.3/dist/ts-estree.d.ts +14 -0
- package/dist/lib.d.ts +1 -1
- package/dist/lib.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
type Lib = 'es5' | 'es6' | 'es2015' | 'es7' | 'es2016' | 'es2017' | 'es2018' | 'es2019' | 'es2020' | 'es2021' | 'es2022' | 'es2023' | 'esnext' | 'dom' | 'dom.iterable' | 'webworker' | 'webworker.importscripts' | 'webworker.iterable' | 'scripthost' | 'es2015.core' | 'es2015.collection' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016.array.include' | 'es2017.date' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.intl' | 'es2017.typedarrays' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019.array' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2019.intl' | 'es2020.bigint' | 'es2020.date' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2020.intl' | 'es2020.number' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2021.intl' | 'es2022.array' | 'es2022.error' | 'es2022.intl' | 'es2022.object' | 'es2022.sharedmemory' | 'es2022.string' | 'es2022.regexp' | 'es2023.array' | 'es2023.collection' | 'esnext.array' | 'esnext.collection' | 'esnext.symbol' | 'esnext.asynciterable' | 'esnext.intl' | 'esnext.disposable' | 'esnext.bigint' | 'esnext.string' | 'esnext.promise' | 'esnext.weakref' | 'esnext.decorators' | 'decorators' | 'decorators.legacy' | 'es2016.full' | 'es2017.full' | 'es2018.full' | 'es2019.full' | 'es2020.full' | 'es2021.full' | 'es2022.full' | 'es2023.full' | 'esnext.full' | 'lib';
|
|
2
|
+
export { Lib };
|
|
3
|
+
//# sourceMappingURL=lib.d.ts.map
|
|
@@ -0,0 +1,40 @@
|
|
|
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_useProjectService?: boolean;
|
|
22
|
+
EXPERIMENTAL_useSourceOfProjectReferenceRedirect?: boolean;
|
|
23
|
+
extraFileExtensions?: string[];
|
|
24
|
+
filePath?: string;
|
|
25
|
+
loc?: boolean;
|
|
26
|
+
program?: Program | null;
|
|
27
|
+
project?: string[] | string | true | null;
|
|
28
|
+
projectFolderIgnoreList?: (RegExp | string)[];
|
|
29
|
+
range?: boolean;
|
|
30
|
+
sourceType?: SourceType;
|
|
31
|
+
tokens?: boolean;
|
|
32
|
+
tsconfigRootDir?: string;
|
|
33
|
+
warnOnUnsupportedTypeScriptVersion?: boolean;
|
|
34
|
+
cacheLifetime?: {
|
|
35
|
+
glob?: CacheDurationSeconds;
|
|
36
|
+
};
|
|
37
|
+
[additionalProperties: string]: unknown;
|
|
38
|
+
}
|
|
39
|
+
export { CacheDurationSeconds, DebugLevel, EcmaVersion, ParserOptions, SourceType, };
|
|
40
|
+
//# sourceMappingURL=parser-options.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
package/dist/lib.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
type Lib = '
|
|
1
|
+
type Lib = 'es5' | 'es6' | 'es2015' | 'es7' | 'es2016' | 'es2017' | 'es2018' | 'es2019' | 'es2020' | 'es2021' | 'es2022' | 'es2023' | 'esnext' | 'dom' | 'dom.iterable' | 'webworker' | 'webworker.importscripts' | 'webworker.iterable' | 'scripthost' | 'es2015.core' | 'es2015.collection' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016.array.include' | 'es2017.date' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.intl' | 'es2017.typedarrays' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019.array' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2019.intl' | 'es2020.bigint' | 'es2020.date' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2020.intl' | 'es2020.number' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2021.intl' | 'es2022.array' | 'es2022.error' | 'es2022.intl' | 'es2022.object' | 'es2022.sharedmemory' | 'es2022.string' | 'es2022.regexp' | 'es2023.array' | 'es2023.collection' | 'esnext.array' | 'esnext.collection' | 'esnext.symbol' | 'esnext.asynciterable' | 'esnext.intl' | 'esnext.disposable' | 'esnext.bigint' | 'esnext.string' | 'esnext.promise' | 'esnext.weakref' | 'esnext.decorators' | 'decorators' | 'decorators.legacy' | 'es2016.full' | 'es2017.full' | 'es2018.full' | 'es2019.full' | 'es2020.full' | 'es2021.full' | 'es2022.full' | 'es2023.full' | 'esnext.full' | 'lib';
|
|
2
2
|
export { Lib };
|
|
3
3
|
//# sourceMappingURL=lib.d.ts.map
|
package/dist/lib.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAKA,KAAK,GAAG,GACJ,
|
|
1
|
+
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAKA,KAAK,GAAG,GACJ,KAAK,GACL,KAAK,GACL,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,cAAc,GACd,WAAW,GACX,yBAAyB,GACzB,oBAAoB,GACpB,YAAY,GACZ,aAAa,GACb,mBAAmB,GACnB,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,yBAAyB,GACzB,sBAAsB,GACtB,aAAa,GACb,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,aAAa,GACb,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,cAAc,GACd,eAAe,GACf,eAAe,GACf,eAAe,GACf,aAAa,GACb,eAAe,GACf,aAAa,GACb,gBAAgB,GAChB,qBAAqB,GACrB,eAAe,GACf,yBAAyB,GACzB,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,aAAa,GACb,cAAc,GACd,cAAc,GACd,aAAa,GACb,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,eAAe,GACf,cAAc,GACd,mBAAmB,GACnB,cAAc,GACd,mBAAmB,GACnB,eAAe,GACf,sBAAsB,GACtB,aAAa,GACb,mBAAmB,GACnB,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,gBAAgB,GAChB,mBAAmB,GACnB,YAAY,GACZ,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,aAAa,GACb,aAAa,GACb,aAAa,GACb,aAAa,GACb,aAAa,GACb,aAAa,GACb,aAAa,GACb,KAAK,CAAC;AAEV,OAAO,EAAE,GAAG,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/types",
|
|
3
|
-
"version": "6.3.1-alpha.
|
|
3
|
+
"version": "6.3.1-alpha.21+479f9f6c0",
|
|
4
4
|
"description": "Types for the TypeScript-ESTree AST spec",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
]
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "479f9f6c053874bd584220edf594ec56d6b0b71a"
|
|
90
90
|
}
|