File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ type Options = {
56
56
// password: 'your picacomic account password'
57
57
// })
58
58
// }
59
- reauthorizationTokenCallback? : (self : PicaComicAPI ) => string | Promise <string >
59
+ reauthorizationTokenCallback? : (self : PicaComicAPI ) => string | undefined | Promise <string | undefined >
60
60
}
61
61
```
62
62
@@ -261,12 +261,12 @@ PicaComicAPI.prototype.fetchComicEpisodePages(payload: { token: string, comicId:
261
261
* Stringify the given media image data into image url.
262
262
*
263
263
* @param payload - {
264
- * fileServer - File server
265
264
* path - Path name
265
+ * fileServer - File server (Optional)
266
266
* }
267
267
* @return Stringify image url
268
268
*/
269
- PicaComicAPI .prototype .stringifyImageUrl (payload : { fileServer : string , path : string }): string
269
+ PicaComicAPI .prototype .stringifyImageUrl (payload : { path : string , fileServer? : string }): string
270
270
```
271
271
272
272
### .fetchImage
@@ -276,12 +276,12 @@ PicaComicAPI.prototype.stringifyImageUrl(payload: { fileServer: string, path: st
276
276
* Fetch image from the given media image data.
277
277
*
278
278
* @param payload - {
279
- * fileServer - File server
280
279
* path - Path name
280
+ * fileServer - File server (Optional)
281
281
* }
282
282
* @return Duplex (Got stream)
283
283
*/
284
- PicaComicAPI .prototype .fetchImage (payload : { fileServer : string , path : string }): Promise < Duplex >
284
+ PicaComicAPI .prototype .fetchImage (payload : { path : string , fileServer? : string }): Promise < Duplex >
285
285
```
286
286
287
287
### .search
You can’t perform that action at this time.
0 commit comments