diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-07-15 01:06:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-15 01:06:20 +0200 |
commit | f9b692e68e97ab6d39ad03988e973279a32cceca (patch) | |
tree | 9ae831322bee0a7226cb725e15e7332f6ab89ebe /cli/dts/lib.deno.shared_globals.d.ts | |
parent | 91a33c65f3bdc82bef4cbe95f614e1f533e5b368 (diff) |
Revert "feat: add "unhandledrejection" event support (#12994) (#15080)" (#15210)
This reverts commit 1a7259b04b7229f6350a7a7c21b50497b5c80c17.
Diffstat (limited to 'cli/dts/lib.deno.shared_globals.d.ts')
-rw-r--r-- | cli/dts/lib.deno.shared_globals.d.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cli/dts/lib.deno.shared_globals.d.ts b/cli/dts/lib.deno.shared_globals.d.ts index abf5e41fb..fc40bb54e 100644 --- a/cli/dts/lib.deno.shared_globals.d.ts +++ b/cli/dts/lib.deno.shared_globals.d.ts @@ -400,17 +400,6 @@ declare class ErrorEvent extends Event { constructor(type: string, eventInitDict?: ErrorEventInit); } -interface PromiseRejectionEventInit extends EventInit { - promise: Promise<any>; - reason?: any; -} - -declare class PromiseRejectionEvent extends Event { - readonly promise: Promise<any>; - readonly reason: any; - constructor(type: string, eventInitDict?: PromiseRejectionEventInit); -} - interface AbstractWorkerEventMap { "error": ErrorEvent; } |