Skip to content

Commit 55f08a6

Browse files
committed
Fix error type of asyncCallback
1 parent 60c68d8 commit 55f08a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/hlsBinaries.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import * as child_process from 'child_process';
2-
import { ExecException } from 'child_process';
32
import * as fs from 'fs';
43
import { stat } from 'fs/promises';
54
import * as https from 'https';
@@ -34,7 +33,7 @@ const exeExt = process.platform === 'win32' ? '.exe' : '';
3433
* Callback invoked on process termination.
3534
*/
3635
type ProcessCallback = (
37-
error: ExecException | null,
36+
error: child_process.ExecFileException | null,
3837
stdout: string,
3938
stderr: string,
4039
resolve: (value: string | PromiseLike<string>) => void,

0 commit comments

Comments
 (0)