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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {