UNPKG

marko

Version:

Optimized runtime for Marko templates.

16 lines (15 loc) • 608 B
import { types as t } from "@marko/compiler"; declare const kAbortId: unique symbol; declare module "@marko/compiler/dist/types" { interface NodeExtra { /** `$signal` abort id for this expression root, allocated in analyze * (see below) so every translate reads the same id. */ [kAbortId]?: number; } } declare const _default: { migrate(this: unknown, identifier: t.NodePath<t.Identifier>): void; analyze(this: unknown, identifier: t.NodePath<t.Identifier>): void; translate(this: unknown, identifier: t.NodePath<t.Identifier>): void; }; export default _default;