fix export initDownloader & tests

This commit is contained in:
Kesha Antonov
2023-07-17 14:13:22 +03:00
parent 1c22e0602e
commit e4a7730c81
3 changed files with 14 additions and 7 deletions

2
index.d.ts vendored
View File

@@ -79,7 +79,7 @@ export type EnsureDownloadsAreRunning = () => Promise<void>;
export interface InitDownloaderOptions {
type?: 'parallel' | 'sequential' | null;
}
export type InitDownloader = (options: InitDownloaderOptions) => Promise<void>;
export type InitDownloader = (options: InitDownloaderOptions) => undefined;
export interface DownloadOption {
id: string;