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

8 lines
479 B
TypeScript
Raw Normal View History

2023-11-13 21:10:04 +00:00
import type { ParserObject } from "./parser-object";
type UserOptionParser = string | ParserObject | Record<string, string | ParserObject | undefined> | undefined;
/** Get parser for script lang */
export declare function getParserForLang(attrs: Record<string, string | undefined>, parser: UserOptionParser): string | ParserObject;
/** Get parser */
export declare function getParser(attrs: Record<string, string | undefined>, parser: UserOptionParser): ParserObject;
export {};