Skip to content

update types rejection handled #789

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 1 commit into from
Oct 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18668,7 +18668,7 @@ interface WindowEventHandlersEventMap {
"pagehide": PageTransitionEvent;
"pageshow": PageTransitionEvent;
"popstate": PopStateEvent;
"rejectionhandled": Event;
"rejectionhandled": PromiseRejectionEvent;
"storage": StorageEvent;
"unhandledrejection": PromiseRejectionEvent;
"unload": Event;
Expand All @@ -18687,7 +18687,7 @@ interface WindowEventHandlers {
onpagehide: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;
onpageshow: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;
onpopstate: ((this: WindowEventHandlers, ev: PopStateEvent) => any) | null;
onrejectionhandled: ((this: WindowEventHandlers, ev: Event) => any) | null;
onrejectionhandled: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;
onstorage: ((this: WindowEventHandlers, ev: StorageEvent) => any) | null;
onunhandledrejection: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;
onunload: ((this: WindowEventHandlers, ev: Event) => any) | null;
Expand Down Expand Up @@ -19939,7 +19939,7 @@ declare var ononline: ((this: Window, ev: Event) => any) | null;
declare var onpagehide: ((this: Window, ev: PageTransitionEvent) => any) | null;
declare var onpageshow: ((this: Window, ev: PageTransitionEvent) => any) | null;
declare var onpopstate: ((this: Window, ev: PopStateEvent) => any) | null;
declare var onrejectionhandled: ((this: Window, ev: Event) => any) | null;
declare var onrejectionhandled: ((this: Window, ev: PromiseRejectionEvent) => any) | null;
declare var onstorage: ((this: Window, ev: StorageEvent) => any) | null;
declare var onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null;
declare var onunload: ((this: Window, ev: Event) => any) | null;
Expand Down
4 changes: 4 additions & 0 deletions inputfiles/addedTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@
{
"name": "unhandledrejection",
"type": "PromiseRejectionEvent"
},
{
"name": "rejectionhandled",
"type": "PromiseRejectionEvent"
}
]
}
Expand Down