UNPKG

prettier-plugin-marko

Version:

A prettier plugin for parsing and printing Marko files

4 lines (3 loc) 204 B
import type { types as t } from "@marko/compiler"; import { AstPath } from "prettier"; export default function getSibling(path: AstPath<t.Node>, direction: 1 | -1): t.MarkoTagBody["body"][number] | null;