marko
Version:
Optimized runtime for Marko templates.
5 lines (4 loc) • 305 B
TypeScript
import { types as t } from "@marko/compiler";
export declare function isStaticText(node?: t.Node): boolean | undefined;
export declare function followsStaticText(path: t.NodePath): boolean | undefined;
export declare function getStaticPlaceholderText(placeholder: t.MarkoPlaceholder): string | undefined;