UNPKG

marko

Version:

Optimized runtime for Marko templates.

4 lines (3 loc) 257 B
import { types as t } from "@marko/compiler"; export declare function getTagName<T extends t.MarkoTag>(tag: t.NodePath<T>): T["name"] extends t.StringLiteral ? string : string | undefined; export declare function getStaticTagName(node: t.MarkoTag): string;