Files
2025-11-25 22:42:56 +01:00

14 lines
267 B
TypeScript

import { AstPath, Doc } from "prettier";
export const print = (path: AstPath): Doc => {
const node = path.getValue();
switch (node.type) {
case "blade-formatter": {
return node.body;
}
}
throw new Error(`Unknown node type: ${node.type}`);
};