Merge pull request #145 from Jannchie/patch-1

fix: incorrect function signature in index.d.ts
This commit is contained in:
jeromewu
2021-01-14 18:42:34 +08:00
committed by GitHub

2
src/index.d.ts vendored
View File

@@ -108,4 +108,4 @@ export function createFFmpeg(options?: CreateFFmpegOptions): FFmpeg;
* Uint8Array variable for ffmpeg.wasm to consume.
*
*/
export function fetchFile(data: string | Buffer | Blob | File): Uint8Array;
export function fetchFile(data: string | Buffer | Blob | File): Promise<Uint8Array>;