CharacterData
The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren't abstract.
interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {
data: string;
readonly length: number;
readonly ownerDocument: Document;
appendData(data: string): void;
deleteData(offset: number, count: number): void;
insertData(offset: number, data: string): void;
replaceData(
offset: number,
count: number,
data: string,
): void;substringData(offset: number, count: number): string;
}var CharacterData: {
prototype: CharacterData;
new (): CharacterData;
};