prettier-plugin-marko
Version:
A prettier plugin for parsing and printing Marko files
11 lines (10 loc) • 527 B
TypeScript
import { SupportLanguage, Parser, Printer, SupportOptions } from "prettier";
import type * as Compiler from "@marko/compiler";
import type { types, Config } from "@marko/compiler";
type Node = types.Node;
export declare const languages: SupportLanguage[];
export declare const options: SupportOptions;
export declare const parsers: Record<string, Parser<Node>>;
export declare const printers: Record<string, Printer<types.Node>>;
export declare function setCompiler(compiler: typeof Compiler, config: Config): void;
export {};