mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
Update index.d.ts
request.jar() accepts Store (tough-cookie Store) as its optional parameter https://github.com/request/request/blob/master/lib/cookies.js#L19
This commit is contained in:
Vendored
+1
-1
@@ -56,7 +56,7 @@ declare namespace request {
|
||||
delete(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
||||
|
||||
forever(agentOptions: any, optionsArg: any): TRequest;
|
||||
jar(): CookieJar;
|
||||
jar(store?: any): CookieJar;
|
||||
cookie(str: string): Cookie;
|
||||
|
||||
initParams: any;
|
||||
|
||||
Reference in New Issue
Block a user