EITS-web/node_modules/svelte-eslint-parser/lib/parser/script.d.ts
2025-12-06 09:54:52 -05:00

15 lines
725 B
TypeScript

import type { ESLintExtendedProgram } from "./index.js";
import type { NormalizedParserOptions } from "./parser-options.js";
/**
* 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;