UNPKG

prettier-plugin-marko

Version:

A prettier plugin for parsing and printing Marko files

4 lines (3 loc) 225 B
import { AstPath, ParserOptions } from "prettier"; import type { types as t } from "@marko/compiler"; export declare function getOriginalCodeForNode(opts: ParserOptions<t.Node>, node: t.Node, path?: AstPath<t.Node>): string;