printer-notifications/node_modules/svelte-eslint-parser/lib/parser/resolve-parser.d.ts
2023-11-13 16:10:04 -05:00

8 lines
479 B
TypeScript

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 {};