summaryrefslogtreecommitdiff
path: root/cli/dts/lib.esnext.error.d.ts
blob: 90f2fcb094a5c63f6958650c6e784ac4b0667442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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;
}