UNPKG

marko

Version:

Optimized runtime for Marko templates.

8 lines (7 loc) 467 B
import { types as t } from "@marko/compiler"; import { type Tag } from "@marko/compiler/babel-utils"; type ForType = "in" | "of" | "to" | "until"; declare const _default: Tag; export default _default; export declare function buildForRuntimeCall(type: ForType, attrs: Record<string, t.Expression>, params: t.ArrowFunctionExpression["params"], statements: t.Statement[]): t.ExpressionStatement; export declare function getForType(tag: t.MarkoTag): ForType | undefined;