@@ -3211,6 +3211,9 @@ interface Attr extends Node {
3211
3211
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/value)
3212
3212
*/
3213
3213
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);
3214
3217
}
3215
3218
3216
3219
declare var Attr: {
@@ -7911,6 +7914,9 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {
7911
7914
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/substringData)
7912
7915
*/
7913
7916
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);
7914
7920
}
7915
7921
7916
7922
declare var CharacterData: {
@@ -10365,6 +10371,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
10365
10371
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
10366
10372
*/
10367
10373
writeln(...text: string[]): void;
10374
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10375
+ get textContent(): null;
10368
10376
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
10369
10377
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
10370
10378
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: {
10390
10398
interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
10391
10399
readonly ownerDocument: Document;
10392
10400
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);
10393
10404
}
10394
10405
10395
10406
declare var DocumentFragment: {
@@ -10466,6 +10477,8 @@ interface DocumentType extends Node, ChildNode {
10466
10477
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/systemId)
10467
10478
*/
10468
10479
readonly systemId: string;
10480
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10481
+ get textContent(): null;
10469
10482
}
10470
10483
10471
10484
declare var DocumentType: {
@@ -11067,6 +11080,9 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
11067
11080
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
11068
11081
*/
11069
11082
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);
11070
11086
addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
11071
11087
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
11072
11088
removeEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
0 commit comments