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:
Alexey Pelykh
2017-03-23 09:39:20 +02:00
committed by GitHub
parent 8a308e57a7
commit a73466afdb
+1 -1
View File
@@ -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;