Skip to content

Commit

Permalink
fix: export ProgressObject type (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Oct 18, 2022
1 parent 9dd4bc9 commit caa1f8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
InstallState,
InstallStateEvent,
ElectronBinary,
ProgressObject,
} from './installer';
import { Fiddle, FiddleFactory, FiddleSource } from './fiddle';
import { BisectResult, Runner, RunnerOptions, TestResult } from './runner';
Expand All @@ -32,6 +33,7 @@ export {
InstallStateEvent,
Installer,
Paths,
ProgressObject,
Runner,
RunnerOptions,
SemOrStr,
Expand Down
2 changes: 1 addition & 1 deletion src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function getZipName(version: string): string {
return `electron-v${version}-${process.platform}-${process.arch}.zip`;
}

type ProgressObject = { percent: number };
export type ProgressObject = { percent: number };

/**
* The state of a current Electron version.
Expand Down

0 comments on commit caa1f8d

Please sign in to comment.