mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix(cli/dts): add captureStackTrace
to lib.dom.extras
(#14748)
Fixes #14512
This commit is contained in:
parent
da416f0249
commit
0cd8f53e65
1 changed files with 5 additions and 0 deletions
5
cli/dts/lib.dom.extras.d.ts
vendored
5
cli/dts/lib.dom.extras.d.ts
vendored
|
@ -146,3 +146,8 @@ declare class URLPattern {
|
||||||
/** The pattern string for the `hash`. */
|
/** The pattern string for the `hash`. */
|
||||||
readonly hash: string;
|
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;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue