Something went wrong. Try again.
Something went wrong. Try again.
12345678910111213141516171819export interface Host<NodeType> { createElement(tag: string): NodeType; createTextNode(value: string): NodeType; replaceText(textNode: NodeType, value: string): void; setProperty( node: NodeType, name: string, value: unknown, prev?: unknown, ): void; insertNode( parent: NodeType, node: NodeType, anchor?: NodeType | null | undefined, ): void; removeNode(parent: NodeType, node: NodeType): void; callEffect(async: boolean, fn: () => void): void;}