Add types for mainName option

This commit is contained in:
Marco Fugaro
2022-09-08 16:37:11 +02:00
committed by GitHub
parent 3c373c9d82
commit 0554900088

2
src/index.d.ts vendored
View File

@@ -26,6 +26,8 @@ export interface CreateFFmpegOptions {
logger?: LogCallback;
/** a function to trace the progress, a quick example is p => console.log(p) */
progress?: ProgressCallback;
/** name of the main function of the ffmpeg-core.js script */
mainName?: string;
}
export interface FFmpeg {