@@ -3654,7 +3654,7 @@ interface Document extends Node, GlobalEventHandlers, ParentNode, DocumentEvent
3654
3654
/**
3655
3655
* Contains information about the current URL.
3656
3656
*/
3657
- readonly location: Location;
3657
+ location: Location | string ;
3658
3658
msCSSOMElementFloatMetrics: boolean;
3659
3659
msCapsLockWarningOff: boolean;
3660
3660
/**
@@ -7094,7 +7094,7 @@ declare var HTMLOptionElement: {
7094
7094
new(): HTMLOptionElement;
7095
7095
};
7096
7096
7097
- interface HTMLOptionsCollection extends HTMLCollectionBase {
7097
+ interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
7098
7098
length: number;
7099
7099
selectedIndex: number;
7100
7100
add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;
@@ -14909,7 +14909,7 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window
14909
14909
readonly innerWidth: number;
14910
14910
readonly isSecureContext: boolean;
14911
14911
readonly length: number;
14912
- readonly location: Location;
14912
+ location: Location | string ;
14913
14913
readonly locationbar: BarProp;
14914
14914
readonly menubar: BarProp;
14915
14915
readonly msContentScript: ExtensionScriptApis;
@@ -15718,7 +15718,7 @@ declare var innerHeight: number;
15718
15718
declare var innerWidth: number;
15719
15719
declare var isSecureContext: boolean;
15720
15720
declare var length: number;
15721
- declare var location: Location;
15721
+ declare var location: Location | string ;
15722
15722
declare var locationbar: BarProp;
15723
15723
declare var menubar: BarProp;
15724
15724
declare var msContentScript: ExtensionScriptApis;
0 commit comments