Skip to content

Commit 6ad91bb

Browse files
updated emitter since change comes from kdl now
1 parent f88a0bc commit 6ad91bb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/build/emitter.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -856,12 +856,7 @@ export function emitWebIdl(
856856
// A covariant EventHandler is one that is defined in a parent interface as then redefined in current interface with a more specific argument types
857857
// These patterns are unsafe, and flagged as error under --strictFunctionTypes.
858858
// Here we know the property is already defined on the interface, we elide its declaration if the parent has the same handler defined
859-
// Exception: if the property has an overrideType, we should emit it as an intentional override
860859
function isCovariantEventHandler(i: Browser.Interface, p: Browser.Property) {
861-
// If this property has an explicit overrideType, emit it (it's an intentional override)
862-
if (p.overrideType) {
863-
return false;
864-
}
865860
return (
866861
isEventHandler(p) &&
867862
iNameToEhParents[i.name].some((parent) =>

0 commit comments

Comments
 (0)