14 lines
713 B
TypeScript
14 lines
713 B
TypeScript
import type { ESLintExtendedProgram } from ".";
|
|
import type { NormalizedParserOptions } from "./parser-options";
|
|
/**
|
|
* Parse for <script>
|
|
*/
|
|
export declare function parseScriptInSvelte(code: string, attrs: Record<string, string | undefined>, parserOptions: NormalizedParserOptions): ESLintExtendedProgram;
|
|
/**
|
|
* Parse for script
|
|
*/
|
|
export declare function parseScript(code: string, attrs: Record<string, string | undefined>, parserOptions: NormalizedParserOptions): ESLintExtendedProgram;
|
|
/**
|
|
* Parse for script without analyze scope
|
|
*/
|
|
export declare function parseScriptWithoutAnalyzeScope(code: string, attrs: Record<string, string | undefined>, options: NormalizedParserOptions): ESLintExtendedProgram;
|