From 1b41dcf72130bbbf78bffa197502db05f294af78 Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 18 Dec 2014 13:33:23 +1300 Subject: [PATCH] Fix allowing config passed in to `rest.wrap` --- rest/rest.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest/rest.d.ts b/rest/rest.d.ts index 34ffc3bf2..3bec656c3 100644 --- a/rest/rest.d.ts +++ b/rest/rest.d.ts @@ -14,7 +14,7 @@ declare module "rest" { function rest(request: rest.Request): rest.ResponsePromise; module rest { - export function wrap(interceptor: Interceptor): Client; + export function wrap(interceptor: Interceptor, config?: any): Client; export interface Request { method?: string;