Skip to content

Commit

Permalink
fix(types): export base engine type
Browse files Browse the repository at this point in the history
  • Loading branch information
ido-pluto committed Jun 23, 2024
1 parent df156c0 commit f10d134
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import EngineError from "./download/download-engine/engine/error/engine-error.js
import {FormattedStatus} from "./download/transfer-visualize/format-transfer-status.js";
import DownloadEngineMultiDownload from "./download/download-engine/engine/download-engine-multi-download.js";
import HttpError from "./download/download-engine/streams/download-engine-fetch-stream/errors/http-error.js";
import BaseDownloadEngine from "./download/download-engine/engine/base-download-engine.js";

export {
downloadFileBrowser,
Expand All @@ -26,6 +27,7 @@ export {
};

export type {
BaseDownloadEngine,
DownloadFileBrowserOptions,
DownloadEngineBrowser,
DownloadEngineMultiDownload,
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import EngineError from "./download/download-engine/engine/error/engine-error.js
import {FormattedStatus} from "./download/transfer-visualize/format-transfer-status.js";
import DownloadEngineMultiDownload from "./download/download-engine/engine/download-engine-multi-download.js";
import HttpError from "./download/download-engine/streams/download-engine-fetch-stream/errors/http-error.js";
import BaseDownloadEngine from "./download/download-engine/engine/base-download-engine.js";


export {
Expand All @@ -28,7 +29,9 @@ export {
EngineError
};


export type {
BaseDownloadEngine,
DownloadFileOptions,
DownloadSequenceOptions,
DownloadEngineNodejs,
Expand Down

0 comments on commit f10d134

Please sign in to comment.