File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff 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 ) =>
You can’t perform that action at this time.
0 commit comments