Add types for mainName option
This commit is contained in:
parent
3c373c9d82
commit
0554900088
2
src/index.d.ts
vendored
2
src/index.d.ts
vendored
@ -26,6 +26,8 @@ export interface CreateFFmpegOptions {
|
|||||||
logger?: LogCallback;
|
logger?: LogCallback;
|
||||||
/** a function to trace the progress, a quick example is p => console.log(p) */
|
/** a function to trace the progress, a quick example is p => console.log(p) */
|
||||||
progress?: ProgressCallback;
|
progress?: ProgressCallback;
|
||||||
|
/** name of the main function of the ffmpeg-core.js script */
|
||||||
|
mainName?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FFmpeg {
|
export interface FFmpeg {
|
||||||
|
Loading…
Reference in New Issue
Block a user