Skip to content

Fix lib breaks #560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Aug 2, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9282,7 +9282,7 @@ interface Location {
/**
* Reloads the current page.
*/
reload(): void;
reload(forcedReload?: boolean): void;
Copy link
Contributor

@saschanaz saschanaz Aug 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can change it to two overloads and mark it as deprecated.

/**
* Removes the current page from the session history and navigates to the given URL.
*/
Expand Down
11 changes: 11 additions & 0 deletions inputfiles/overridingTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -2313,6 +2313,17 @@
"[index: number]: Element",
"[name: string]: any"
]
},
"Location": {
"methods": {
"method": {
"reload": {
"override-signatures": [
"reload(forcedReload?: boolean): void"
]
}
}
}
}
}
},
Expand Down