Skip to content

Commit 93db613

Browse files
authored
Merge pull request #412 from marcofugaro/mainname-typescript
Add types for mainName option
2 parents 22b8160 + 9129d86 commit 93db613

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export interface CreateFFmpegOptions {
2626
logger?: LogCallback;
2727
/** a function to trace the progress, a quick example is p => console.log(p) */
2828
progress?: ProgressCallback;
29+
/** name of the main function of the ffmpeg-core.js script */
30+
mainName?: string;
2931
}
3032

3133
export interface FFmpeg {

0 commit comments

Comments
 (0)