Skip to content

Commit d44ea29

Browse files
Copilotpelikhan
andcommitted
Fix ffprobe return type from Promise<any> to Promise<VideoProbeResult>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent c526cbd commit d44ea29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/ffmpeg.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class MinimalFfmpegCommand extends EventEmitter implements FfmpegCommandBuilder
222222
}
223223

224224
// FFprobe functionality
225-
async ffprobe(): Promise<any> {
225+
async ffprobe(): Promise<VideoProbeResult> {
226226
if (!this.inputFile) {
227227
dbg(`ffprobe error: no input file specified`);
228228
throw new Error("No input file specified for ffprobe");

0 commit comments

Comments
 (0)