Skip to content

Commit a26f047

Browse files
committed
Port #311
1 parent 11aec79 commit a26f047

File tree

3 files changed

+176
-168
lines changed

3 files changed

+176
-168
lines changed

baselines/dom.generated.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3654,7 +3654,7 @@ interface Document extends Node, GlobalEventHandlers, ParentNode, DocumentEvent
36543654
/**
36553655
* Contains information about the current URL.
36563656
*/
3657-
readonly location: Location;
3657+
location: Location | string;
36583658
msCSSOMElementFloatMetrics: boolean;
36593659
msCapsLockWarningOff: boolean;
36603660
/**
@@ -7094,7 +7094,7 @@ declare var HTMLOptionElement: {
70947094
new(): HTMLOptionElement;
70957095
};
70967096

7097-
interface HTMLOptionsCollection extends HTMLCollectionBase {
7097+
interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
70987098
length: number;
70997099
selectedIndex: number;
71007100
add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;
@@ -14909,7 +14909,7 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window
1490914909
readonly innerWidth: number;
1491014910
readonly isSecureContext: boolean;
1491114911
readonly length: number;
14912-
readonly location: Location;
14912+
location: Location | string;
1491314913
readonly locationbar: BarProp;
1491414914
readonly menubar: BarProp;
1491514915
readonly msContentScript: ExtensionScriptApis;
@@ -15718,7 +15718,7 @@ declare var innerHeight: number;
1571815718
declare var innerWidth: number;
1571915719
declare var isSecureContext: boolean;
1572015720
declare var length: number;
15721-
declare var location: Location;
15721+
declare var location: Location | string;
1572215722
declare var locationbar: BarProp;
1572315723
declare var menubar: BarProp;
1572415724
declare var msContentScript: ExtensionScriptApis;

0 commit comments

Comments
 (0)