1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-15 16:43:44 -05:00
denoland-deno/cli/dts/lib.esnext.error.d.ts

17 lines
321 B
TypeScript
Raw Normal View History

2021-08-10 04:33:08 -04:00
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/// <reference no-default-lib="true"/>
interface Error {
cause?: any;
}
interface ErrorInit {
cause?: any;
}
interface ErrorConstructor {
new (message?: string, init?: ErrorInit): Error;
(message?: string, init?: ErrorInit): Error;
}