Skip to content

Commit caa1f8d

Browse files
authored
fix: export ProgressObject type (#49)
1 parent 9dd4bc9 commit caa1f8d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
InstallState,
77
InstallStateEvent,
88
ElectronBinary,
9+
ProgressObject,
910
} from './installer';
1011
import { Fiddle, FiddleFactory, FiddleSource } from './fiddle';
1112
import { BisectResult, Runner, RunnerOptions, TestResult } from './runner';
@@ -32,6 +33,7 @@ export {
3233
InstallStateEvent,
3334
Installer,
3435
Paths,
36+
ProgressObject,
3537
Runner,
3638
RunnerOptions,
3739
SemOrStr,

src/installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function getZipName(version: string): string {
1313
return `electron-v${version}-${process.platform}-${process.arch}.zip`;
1414
}
1515

16-
type ProgressObject = { percent: number };
16+
export type ProgressObject = { percent: number };
1717

1818
/**
1919
* The state of a current Electron version.

0 commit comments

Comments
 (0)