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
commit d46cf8b459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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. * 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>;