Import
import { BooleanNode } from "@typed/template";Signatures
export declare class BooleanNode {
readonly _tag: "boolean";
readonly name: string;
constructor(name: string);
}Why
Presence-only native HTML semantics are distinct from string attributes.
Ownership and lifetime
The model owns only the parsed name.
Constructor
Creates static boolean-attribute syntax.
Property: _tag
Static-boolean discriminant.
Property: _tag: Why
Selects presence-only native attribute semantics.
Property: _tag: Ownership and lifetime
Immutable AST metadata.
Property: name
Presence-only native attribute name.
Property: name: Why
Identifies the exact boolean attribute to create.
Property: name: Ownership and lifetime
Retained string metadata.
Examples
import { BooleanNode } from "@typed/template/Template"
const node = new BooleanNode("disabled")Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.