Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.shared_globals.d.ts>PromiseRejectionEvent

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface PromiseRejectionEvent
implements Event
import { type PromiseRejectionEvent } from "https://deno.land/x/deno@v1.36.0/cli/tsc/dts/lib.deno.shared_globals.d.ts";

Properties

readonly
promise: Promise<any>
readonly
reason: any
variable PromiseRejectionEvent
import { PromiseRejectionEvent } from "https://deno.land/x/deno@v1.36.0/cli/tsc/dts/lib.deno.shared_globals.d.ts";

type

{ readonly prototype: PromiseRejectionEvent; new (type: string, eventInitDict?: PromiseRejectionEventInit): PromiseRejectionEvent; }