diff options
Diffstat (limited to 'cli/dts/lib.esnext.error.d.ts')
-rw-r--r-- | cli/dts/lib.esnext.error.d.ts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cli/dts/lib.esnext.error.d.ts b/cli/dts/lib.esnext.error.d.ts new file mode 100644 index 000000000..fa06d6f58 --- /dev/null +++ b/cli/dts/lib.esnext.error.d.ts @@ -0,0 +1,16 @@ +// 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; +} |