UNPKG

ajsfw

Version:
25 lines (24 loc) 830 B
import { IElement } from "./IElement"; import { IDocument } from "./IDocument"; import { INodeList } from "./INodeList"; export interface INode { previousSibling: INode; nextSibling: INode; readonly ownerDocument: IDocument; readonly nodeType: number; readonly nodeName: string; parentNode: INode; readonly parentElement: IElement; nodeValue: string; readonly textContent: string; readonly innerText: string; hasChildNodes(): boolean; contains(node: INode): boolean; readonly childNodes: INodeList; readonly firstChild: INode; readonly lastChild: INode; appendChild(node: INode): INode; insertBefore(newNode: INode, beforeNode: INode): INode; replaceChild(newNode: INode, oldNode: INode): INode; removeChild(node: INode): void; }