UNPKG

marko

Version:

Optimized runtime for Marko templates.

4 lines (3 loc) • 255 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 getTagNameHint(node: t.MarkoTag): string;