mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix allowing config passed in to rest.wrap
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user