Merge pull request #412 from marcofugaro/mainname-typescript

Add types for mainName option
This commit is contained in:
jeromewu
2022-09-09 09:42:10 +08:00
committed by GitHub

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 {