mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Fix allowing config passed in to rest.wrap
This commit is contained in:
1 parent
3ec86215aa
commit
1b41dcf721
1 file changed
+1
-1
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