Skip to content

Commit 30465db

Browse files
committed
Remove redundant Text#assignedSlot
Slottable already defines it.
1 parent 93a9848 commit 30465db

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

baselines/dom.generated.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -13348,7 +13348,6 @@ declare var SubtleCrypto: {
1334813348

1334913349
/** The textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children. */
1335013350
interface Text extends CharacterData, Slottable {
13351-
readonly assignedSlot: HTMLSlotElement | null;
1335213351
/** Returns the combined data of all direct Text node siblings. */
1335313352
readonly wholeText: string;
1335413353
/** Splits data at the given offset and returns the remainder as Text node. */

inputfiles/addedTypes.jsonc

+2-15
Original file line numberDiff line numberDiff line change
@@ -581,8 +581,7 @@
581581
]
582582
}
583583
}
584-
},
585-
584+
}
586585
},
587586
"EventListenerObject": {
588587
"name": "EventListenerObject",
@@ -595,7 +594,7 @@
595594
]
596595
}
597596
}
598-
},
597+
}
599598
},
600599
"Document": {
601600
"methods": {
@@ -748,18 +747,6 @@
748747
]
749748
}
750749
},
751-
"Text": {
752-
"name": "Text",
753-
"properties": {
754-
"property": {
755-
"assignedSlot": {
756-
"name": "assignedSlot",
757-
"readonly": true,
758-
"overrideType": "HTMLSlotElement | null"
759-
}
760-
}
761-
}
762-
},
763750
"TextTrackList": {
764751
"events": {
765752
"event": [

0 commit comments

Comments
 (0)