0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-02 04:38:21 -05:00

fix(cli/dts): add captureStackTrace to lib.dom.extras (#14748)

Fixes #14512
This commit is contained in:
Mark Ladyshau 2022-05-30 06:50:54 +02:00 committed by Bartek Iwańczuk
parent 8defae8594
commit 938a550066
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750

View file

@ -146,3 +146,8 @@ declare class URLPattern {
/** The pattern string for the `hash`. */
readonly hash: string;
}
interface ErrorConstructor {
/** See https://v8.dev/docs/stack-trace-api#stack-trace-collection-for-custom-exceptions. */
captureStackTrace(error: Object, constructor?: Function): void;
}