Skip to content

Commit

Permalink
Type declarations for the getErrContext method
Browse files Browse the repository at this point in the history
  • Loading branch information
miraclx committed Feb 10, 2020
1 parent 1004121 commit 446e5bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 446e5bb

Please sign in to comment.