astro-ghostcms/.pnpm-store/v3/files/ca/aa1f8dd3531f6037f81761d2175...

41 lines
1.5 KiB
Plaintext

import { Program } from 'typescript';
import { Lib } from './lib';
type DebugLevel = boolean | ('typescript-eslint' | 'eslint' | 'typescript')[];
type CacheDurationSeconds = number | 'Infinity';
type EcmaVersion = 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022;
type SourceType = 'script' | 'module';
interface ParserOptions {
ecmaFeatures?: {
globalReturn?: boolean;
jsx?: boolean;
};
ecmaVersion?: EcmaVersion | 'latest';
jsxPragma?: string | null;
jsxFragmentName?: string | null;
lib?: Lib[];
emitDecoratorMetadata?: boolean;
comment?: boolean;
debugLevel?: DebugLevel;
errorOnTypeScriptSyntacticAndSemanticIssues?: boolean;
errorOnUnknownASTType?: boolean;
EXPERIMENTAL_useSourceOfProjectReferenceRedirect?: boolean;
extraFileExtensions?: string[];
filePath?: string;
loc?: boolean;
program?: Program;
project?: string | string[] | true;
projectFolderIgnoreList?: (string | RegExp)[];
range?: boolean;
sourceType?: SourceType;
tokens?: boolean;
tsconfigRootDir?: string;
warnOnUnsupportedTypeScriptVersion?: boolean;
moduleResolver?: string;
cacheLifetime?: {
glob?: CacheDurationSeconds;
};
[additionalProperties: string]: unknown;
}
export { CacheDurationSeconds, DebugLevel, EcmaVersion, ParserOptions, SourceType, };
//# sourceMappingURL=parser-options.d.ts.map