@@ -3211,6 +3211,9 @@ interface Attr extends Node {
32113211 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/value)
32123212 */
32133213 value: string;
3214+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
3215+ get textContent(): string;
3216+ set textContent(value: string | null);
32143217}
32153218
32163219declare var Attr: {
@@ -7911,6 +7914,9 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {
79117914 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/substringData)
79127915 */
79137916 substringData(offset: number, count: number): string;
7917+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
7918+ get textContent(): string;
7919+ set textContent(value: string | null);
79147920}
79157921
79167922declare var CharacterData: {
@@ -10365,6 +10371,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
1036510371 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
1036610372 */
1036710373 writeln(...text: string[]): void;
10374+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10375+ get textContent(): null;
1036810376 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1036910377 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1037010378 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -10390,6 +10398,9 @@ declare var Document: {
1039010398interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
1039110399 readonly ownerDocument: Document;
1039210400 getElementById(elementId: string): HTMLElement | null;
10401+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10402+ get textContent(): string;
10403+ set textContent(value: string | null);
1039310404}
1039410405
1039510406declare var DocumentFragment: {
@@ -10466,6 +10477,8 @@ interface DocumentType extends Node, ChildNode {
1046610477 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/systemId)
1046710478 */
1046810479 readonly systemId: string;
10480+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10481+ get textContent(): null;
1046910482}
1047010483
1047110484declare var DocumentType: {
@@ -11067,6 +11080,9 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
1106711080 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
1106811081 */
1106911082 webkitMatchesSelector(selectors: string): boolean;
11083+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
11084+ get textContent(): string;
11085+ set textContent(value: string | null);
1107011086 addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1107111087 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1107211088 removeEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
0 commit comments