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
commit aa66853488
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 {