mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
allow to pass custom request function
One problem currently arises from this: Most methods return a Request object since nano uses the request module by default. Will leave it for now since using a custom request function isn't too common.
This commit is contained in:
Vendored
+1
@@ -16,6 +16,7 @@ declare module "nano" {
|
||||
requestDefaults?: CoreOptions
|
||||
log?(id: string, args: any): void
|
||||
parseUrl?: boolean
|
||||
request?: Function
|
||||
}
|
||||
|
||||
interface Callback {
|
||||
|
||||
Reference in New Issue
Block a user