File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -924,7 +924,7 @@ module Emit =
924
924
925
925
// Treat window.name specially because of https://github.com/Microsoft/TypeScript/issues/9850
926
926
if p.Name = " name" && i.Name = " Window" && emitScope = EmitScope.All then
927
- printLine " declare const name: never ;"
927
+ printLine " declare const name: string | undefined ;"
928
928
elif Option.isNone ( getRemovedItemByName p.Name ItemKind.Property i.Name) then
929
929
match getOverriddenItemByName p.Name ItemKind.Property i.Name with
930
930
| Some p' -> emitPropertyFromJson p'
Original file line number Diff line number Diff line change @@ -14734,7 +14734,7 @@ declare var locationbar: BarProp;
14734
14734
declare var menubar: BarProp;
14735
14735
declare var msContentScript: ExtensionScriptApis;
14736
14736
declare var msCredentials: MSCredentials;
14737
- declare const name: never ;
14737
+ declare const name: string | undefined ;
14738
14738
declare var navigator: Navigator;
14739
14739
declare var offscreenBuffering: string | boolean;
14740
14740
declare var onabort: (this: Window, ev: UIEvent) => any;
You can’t perform that action at this time.
0 commit comments