marko
Version:
Optimized runtime for Marko templates.
10 lines (9 loc) • 333 B
TypeScript
import { types as t } from "@marko/compiler";
declare const kOnlyChildInParent: unique symbol;
declare module "@marko/compiler/dist/types" {
interface MarkoTagExtra {
[kOnlyChildInParent]?: false | string;
}
}
export declare function getOnlyChildParentTagName(tag: t.NodePath<t.MarkoTag>): string | false;
export {};