Skip to content

Commit f78a9d7

Browse files
authored
Revert "make location.reload() return never (#1544)" (#1545)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
1 parent 63a13ca commit f78a9d7

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14475,7 +14475,7 @@ interface Location {
1447514475
*
1447614476
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/reload)
1447714477
*/
14478-
reload(): never;
14478+
reload(): void;
1447914479
/**
1448014480
* Removes the current page from the session history and navigates to the given URL.
1448114481
*

inputfiles/overridingTypes.jsonc

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -581,17 +581,6 @@
581581
}
582582
}
583583
},
584-
"Location": {
585-
"methods": {
586-
"method": {
587-
"reload": {
588-
"overrideSignatures": [
589-
"reload(): never"
590-
]
591-
}
592-
}
593-
}
594-
},
595584
"Window": {
596585
"properties": {
597586
"property": {

0 commit comments

Comments
 (0)