printer-notifications/node_modules/svelte-eslint-parser/lib/parser/template.d.ts

11 lines
311 B
TypeScript
Raw Normal View History

2023-11-13 21:10:04 +00:00
import type * as SvAST from "./svelte-ast-types";
import type { Context } from "../context";
import type { SvelteProgram } from "../ast";
/**
* Parse for template
*/
export declare function parseTemplate(code: string, ctx: Context, parserOptions?: any): {
ast: SvelteProgram;
svelteAst: SvAST.Ast;
};