This commit is contained in:
kacper 2026-03-06 22:51:19 -05:00
parent 6acf267d48
commit b7614eb3f8
4794 changed files with 1280808 additions and 1546 deletions

View file

@ -0,0 +1,20 @@
import HTMLElement from './html';
import Node from './node';
import NodeType from './type';
export default class CommentNode extends Node {
rawText: string;
rawTagName: string;
clone(): CommentNode;
constructor(rawText: string, parentNode?: HTMLElement, range?: [number, number], rawTagName?: string);
/**
* Node Type declaration.
* @type {Number}
*/
nodeType: NodeType;
/**
* Get unescaped text value of current node and its children.
* @return {string} text content
*/
get text(): string;
toString(): string;
}