@typescript-eslint/types
Advanced tools
Comparing version
@@ -1,3 +0,3 @@ | ||
type Lib = 'es5' | 'es6' | 'es2015' | 'es7' | 'es2016' | 'es2017' | 'es2018' | 'es2019' | 'es2020' | 'es2021' | 'es2022' | 'es2023' | 'esnext' | 'dom' | 'dom.iterable' | 'dom.asynciterable' | 'webworker' | 'webworker.importscripts' | 'webworker.iterable' | 'webworker.asynciterable' | 'scripthost' | 'es2015.core' | 'es2015.collection' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016.array.include' | 'es2016.intl' | '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' | 'es2023.intl' | 'esnext.array' | 'esnext.collection' | 'esnext.symbol' | 'esnext.asynciterable' | 'esnext.intl' | 'esnext.disposable' | 'esnext.bigint' | 'esnext.string' | 'esnext.promise' | 'esnext.weakref' | 'esnext.decorators' | 'esnext.object' | 'esnext.regexp' | 'decorators' | 'decorators.legacy' | 'es2016.full' | 'es2017.full' | 'es2018.full' | 'es2019.full' | 'es2020.full' | 'es2021.full' | 'es2022.full' | 'es2023.full' | 'esnext.full' | 'lib'; | ||
type Lib = 'decorators' | 'decorators.legacy' | 'dom' | 'dom.asynciterable' | 'dom.iterable' | 'es5' | 'es6' | 'es7' | 'es2015' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016' | 'es2016.array.include' | 'es2016.full' | 'es2016.intl' | 'es2017' | 'es2017.date' | 'es2017.full' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2018' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.full' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019' | 'es2019.array' | 'es2019.full' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2020' | 'es2020.bigint' | 'es2020.date' | 'es2020.full' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2021' | 'es2021.full' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2022' | 'es2022.array' | 'es2022.error' | 'es2022.full' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.sharedmemory' | 'es2022.string' | 'es2023' | 'es2023.array' | 'es2023.collection' | 'es2023.full' | 'es2023.intl' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.collection' | 'esnext.decorators' | 'esnext.disposable' | 'esnext.full' | 'esnext.intl' | 'esnext.object' | 'esnext.promise' | 'esnext.regexp' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'lib' | 'scripthost' | 'webworker' | 'webworker.asynciterable' | 'webworker.importscripts' | 'webworker.iterable'; | ||
export { Lib }; | ||
//# sourceMappingURL=lib.d.ts.map |
import type { Program } from 'typescript'; | ||
import type { Lib } from './lib'; | ||
type DebugLevel = ('eslint' | 'typescript-eslint' | 'typescript')[] | boolean; | ||
type CacheDurationSeconds = number | 'Infinity'; | ||
type EcmaVersion = 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | 'latest' | undefined; | ||
type DebugLevel = ('eslint' | 'typescript' | 'typescript-eslint')[] | boolean; | ||
type CacheDurationSeconds = 'Infinity' | number; | ||
type EcmaVersion = 'latest' | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | undefined; | ||
type SourceTypeClassic = 'module' | 'script'; | ||
type SourceType = SourceTypeClassic | 'commonjs'; | ||
type SourceType = 'commonjs' | SourceTypeClassic; | ||
type JSDocParsingMode = 'all' | 'none' | 'type-info'; | ||
@@ -32,23 +32,27 @@ /** | ||
interface ParserOptions { | ||
[additionalProperties: string]: unknown; | ||
cacheLifetime?: { | ||
glob?: CacheDurationSeconds; | ||
}; | ||
debugLevel?: DebugLevel; | ||
ecmaFeatures?: { | ||
[key: string]: unknown; | ||
globalReturn?: boolean | undefined; | ||
jsx?: boolean | undefined; | ||
[key: string]: unknown; | ||
} | undefined; | ||
ecmaVersion?: EcmaVersion; | ||
jsxPragma?: string | null; | ||
jsxFragmentName?: string | null; | ||
lib?: Lib[]; | ||
emitDecoratorMetadata?: boolean; | ||
experimentalDecorators?: boolean; | ||
debugLevel?: DebugLevel; | ||
errorOnTypeScriptSyntacticAndSemanticIssues?: boolean; | ||
errorOnUnknownASTType?: boolean; | ||
experimentalDecorators?: boolean; | ||
extraFileExtensions?: string[]; | ||
filePath?: string; | ||
jsDocParsingMode?: JSDocParsingMode; | ||
jsxFragmentName?: string | null; | ||
jsxPragma?: string | null; | ||
lib?: Lib[]; | ||
programs?: Program[] | null; | ||
project?: string[] | string | boolean | null; | ||
project?: string[] | boolean | string | null; | ||
projectFolderIgnoreList?: string[]; | ||
projectService?: boolean | ProjectServiceOptions; | ||
projectService?: ProjectServiceOptions | boolean; | ||
range?: boolean; | ||
@@ -59,8 +63,4 @@ sourceType?: SourceType | undefined; | ||
warnOnUnsupportedTypeScriptVersion?: boolean; | ||
cacheLifetime?: { | ||
glob?: CacheDurationSeconds; | ||
}; | ||
[additionalProperties: string]: unknown; | ||
} | ||
export { CacheDurationSeconds, DebugLevel, EcmaVersion, JSDocParsingMode, ParserOptions, ProjectServiceOptions, SourceType, }; | ||
//# sourceMappingURL=parser-options.d.ts.map |
@@ -43,3 +43,3 @@ import type * as TSESTree from './generated/ast-spec'; | ||
interface ClassBody { | ||
parent: TSESTree.ClassExpression | TSESTree.ClassDeclaration; | ||
parent: TSESTree.ClassDeclaration | TSESTree.ClassExpression; | ||
} | ||
@@ -167,3 +167,3 @@ interface ExportSpecifier { | ||
interface TSTypeParameter { | ||
parent: TSESTree.TSInferType | TSESTree.TSTypeParameterDeclaration | TSESTree.TSMappedType; | ||
parent: TSESTree.TSInferType | TSESTree.TSMappedType | TSESTree.TSTypeParameterDeclaration; | ||
} | ||
@@ -170,0 +170,0 @@ } |
{ | ||
"name": "@typescript-eslint/types", | ||
"version": "8.2.1-alpha.22", | ||
"version": "8.2.1-alpha.23", | ||
"description": "Types for the TypeScript-ESTree AST spec", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet