mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
16 lines
321 B
TypeScript
Vendored
16 lines
321 B
TypeScript
Vendored
// Copyright 2018-2022 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;
|
|
}
|