UNPKG

prettier-plugin-marko

Version:

A prettier plugin for parsing and printing Marko files

5 lines (4 loc) 371 B
import type { types as t } from "@marko/compiler"; import { ParserOptions } from "prettier"; export default function isTextLike(node: t.Node, parent: t.MarkoTag | t.Program, opts: ParserOptions<t.Node>): node is t.MarkoText | t.MarkoPlaceholder | t.MarkoComment; export declare function getCommentType(node: t.MarkoComment, opts: ParserOptions<t.Node>): "/" | "*" | "-";