marko
Version:
Optimized runtime for Marko templates.
5 lines (4 loc) • 314 B
TypeScript
import { types as t } from "@marko/compiler";
export default function normalizeStringExpression(parts: (string | t.Expression)[], useIife?: boolean): t.Expression | undefined;
export declare function appendLiteral(arr: unknown[], str: string): void;
export declare function escapeTemplateRaw(raw: string): string;