You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
312 B

import NodeType from './type';
/**
* Node Class as base class for TextNode and HTMLElement.
*/
export default abstract class Node {
abstract nodeType: NodeType;
childNodes: Node[];
abstract text: string;
abstract rawText: string;
abstract toString(): string;
get innerText(): string;
}