UNPKG

marko

Version:

Optimized runtime for Marko templates.

3 lines (2 loc) 194 B
import type { 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;