File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -803,7 +803,7 @@ export function emitWebIdl(
803
803
if (
804
804
p . name === "name" &&
805
805
i . name === "Window" &&
806
- emitScope === EmitScope . All
806
+ emitScope === EmitScope . InstanceOnly
807
807
) {
808
808
printer . printLine ( "/** @deprecated */" ) ;
809
809
printer . printLine ( "declare const name: void;" ) ;
@@ -1064,7 +1064,7 @@ export function emitWebIdl(
1064
1064
/// Emit all members of every interfaces at the root level.
1065
1065
/// Called only once on the global polluter object
1066
1066
function emitAllMembers ( i : Browser . Interface ) {
1067
- emitMembers ( /*prefix*/ "declare var " , EmitScope . All , i ) ;
1067
+ emitMembers ( /*prefix*/ "declare var " , EmitScope . InstanceOnly , i ) ;
1068
1068
1069
1069
for ( const relatedIName of iNameToIDependList [ i . name ] ) {
1070
1070
const i = allInterfacesMap [ relatedIName ] ;
You can’t perform that action at this time.
0 commit comments