UNPKG

prettier-plugin-marko

Version:

A prettier plugin for parsing and printing Marko files

4 lines (3 loc) 186 B
import type { types as t } from "@marko/compiler"; import { doc as d, type Doc } from "prettier"; export default function withBlockIfNeeded(node: t.Statement, doc: Doc): d.builders.Doc;