Skip to content

Commit

Permalink
Merge pull request ffmpegwasm#412 from marcofugaro/mainname-typescript
Browse files Browse the repository at this point in the history
Add types for mainName option
  • Loading branch information
jeromewu committed Sep 9, 2022
2 parents 22b8160 + 9129d86 commit 93db613
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 93db613

Please sign in to comment.