Skip to content

Commit 848dba9

Browse files
committed
Migrate typedef
1 parent 7aa85ee commit 848dba9

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

inputfiles/addedTypes.jsonc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,10 +481,6 @@
481481
],
482482
"overrideType": "ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>"
483483
},
484-
{
485-
"name": "EventListenerOrEventListenerObject",
486-
"overrideType": "EventListener | EventListenerObject"
487-
},
488484
{
489485
"name": "AutoFillSection",
490486
// Note: this will also eagerly match any invalid string

inputfiles/patches/dom.kdl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ enum InsertPosition {
2727
// ChildNode and ParentNode are actually defined as mixins, but because of their names they have historically been used as a sub-interface of Node.
2828
interface-mixin ChildNode extends=Node
2929
interface-mixin ParentNode extends=Node
30+
31+
typedef EventListenerOrEventListenerObject {
32+
type EventListener
33+
type EventListenerObject
34+
}

0 commit comments

Comments
 (0)