marko
Version:
Optimized runtime for Marko templates.
15 lines (14 loc) • 566 B
TypeScript
import { types as t } from "@marko/compiler";
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. */
abortId?: 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;