diff options
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/dts/lib.deno.window.d.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tsc/dts/lib.deno.window.d.ts b/cli/tsc/dts/lib.deno.window.d.ts index c518c5356..eaab7c3c2 100644 --- a/cli/tsc/dts/lib.deno.window.d.ts +++ b/cli/tsc/dts/lib.deno.window.d.ts @@ -12,6 +12,7 @@ declare interface WindowEventMap { "error": ErrorEvent; "unhandledrejection": PromiseRejectionEvent; + "rejectionhandled": PromiseRejectionEvent; } /** @category Web APIs */ @@ -25,6 +26,9 @@ declare interface Window extends EventTarget { onunhandledrejection: | ((this: Window, ev: PromiseRejectionEvent) => any) | null; + onrejectionhandled: + | ((this: Window, ev: PromiseRejectionEvent) => any) + | null; close: () => void; readonly closed: boolean; alert: (message?: string) => void; |