Import
import { DataPartNode } from "@typed/template";Signatures
export declare class DataPartNode {
readonly _tag: "data";
readonly index: number;
constructor(index: number);
}Why
Data records map to the native dataset/data-* surface without replacing
unrelated attributes.
Ownership and lifetime
The part stores one input index; its render Scope owns local updates.
Constructor
Creates data-record syntax.
Property: _tag
Data-record discriminant.
Property: _tag: Why
Selects native dataset and safe data-* serialization.
Property: _tag: Ownership and lifetime
Immutable AST metadata.
Property: index
Interpolation index producing the data record.
Property: index: Why
Locates the record producer for local dataset updates.
Property: index: Ownership and lifetime
Immutable scalar metadata; the render Scope owns the producer.
Examples
import { DataPartNode } from "@typed/template/Template"
const part = new DataPartNode(0)Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.