Type Alias BaseTypedNodeType<TNode, TKey, TOther>

BaseTypedNodeType: BaseNodeType<
    TNode,
    TKey,
    TOther & {
        typeId: TNode[NodeTypeKey];
        _addOnInit(callback: (node: TNode) => void): DisposableDispose;
        _initNode(node: TNode): void;
        "[dispose]"(): void;
        onInit(
            callback: (node: TNode) => void,
        ): BaseTypedNodeType<TNode, TKey, TOther>;
        unregister(): void;
    },
>

Represents a node type with associated lifecycle and behavior

Type Parameters

  • TNode extends NodeWithAnyType

    Node structure that adheres to this type

  • TKey extends keyof TNode | never

    Key field in the node structure (if any)

  • TOther

    Additional properties and methods