From 446e5bbb66b7c616fad6c696d4a45b7d24c555b0 Mon Sep 17 00:00:00 2001 From: Miraclx Date: Mon, 10 Feb 2020 04:10:11 +0100 Subject: [PATCH] Type declarations for the getErrContext method --- typings/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/index.d.ts b/typings/index.d.ts index 7555c11..b935c2b 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -34,6 +34,7 @@ declare namespace xget { getHashAlgorithm(): string; use(tag: string, fn: UseMiddlewareFn): this; with(tag: string, fn: WithMiddlewareFn): this; + getErrContext(err: Error): { raw: Error, tag: string, source: 'xget:with' | 'xget:use' } } interface XGETInstance {