1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 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; }