File size: 998 Bytes
bc20498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { type UserOptionParser } from "./resolve-parser";
export type NormalizedParserOptions = {
    parser?: UserOptionParser;
    project?: string | string[] | null;
    ecmaVersion: number | "latest";
    sourceType: "module" | "script";
    ecmaFeatures?: {
        globalReturn?: boolean | undefined;
        impliedStrict?: boolean | undefined;
        jsx?: boolean | undefined;
        experimentalObjectRestSpread?: boolean | undefined;
        [key: string]: any;
    };
    svelteFeatures?: {
        runes?: boolean;
        experimentalGenerics?: boolean;
    };
    loc: boolean;
    range: boolean;
    raw: boolean;
    tokens: boolean;
    comment: boolean;
    eslintVisitorKeys: boolean;
    eslintScopeManager: boolean;
    filePath?: string;
};
/** Normalize parserOptions */
export declare function normalizeParserOptions(options: any): NormalizedParserOptions;
export declare function isTypeScript(parserOptions: NormalizedParserOptions, lang: string | undefined): boolean;