mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 18:19:08 -05:00
17 lines
321 B
TypeScript
17 lines
321 B
TypeScript
|
// 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;
|
||
|
}
|