Skip to content

Commit

Permalink
chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed May 22, 2024
1 parent 5e3f341 commit eed657a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/http-crawler/src/internals/file-download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ export type FileDownloadOptions<
UserData extends Dictionary = any, // with default to Dictionary we cant use a typed router in untyped crawler
JSONData extends Dictionary = any, // with default to Dictionary we cant use a typed router in untyped crawler
> =
| (Omit<HttpCrawlerOptions<FileDownloadCrawlingContext<UserData, JSONData>>, 'requestHandler'> & {
requestHandler?: never;
streamHandler?: StreamHandler;
})
| (Omit<HttpCrawlerOptions<FileDownloadCrawlingContext<UserData, JSONData>>, 'requestHandler'> & {
requestHandler: FileDownloadRequestHandler;
streamHandler?: never;
});
| (Omit<HttpCrawlerOptions<FileDownloadCrawlingContext<UserData, JSONData>>, 'requestHandler'> & {
requestHandler?: never;
streamHandler?: StreamHandler;
})
| (Omit<HttpCrawlerOptions<FileDownloadCrawlingContext<UserData, JSONData>>, 'requestHandler'> & {
requestHandler: FileDownloadRequestHandler;
streamHandler?: never;
});

export type FileDownloadHook<
UserData extends Dictionary = any, // with default to Dictionary we cant use a typed router in untyped crawler
Expand Down

0 comments on commit eed657a

Please sign in to comment.