UNPKG

prettier-plugin-marko

Version:

A prettier plugin for parsing and printing Marko files

5 lines (4 loc) 285 B
import { doc as d, type Doc } from "prettier"; import type { types as t } from "@marko/compiler"; export declare function withParensIfNeeded(node: t.Node, doc: Doc, enclosed?: boolean): d.builders.Doc; export declare function withParensIfBreak(node: t.Node, doc: Doc): d.builders.Doc;