fix: update uploadFile return type

This commit is contained in:
Derrick Hammer 2023-06-26 00:09:06 -04:00
parent 9bc225c542
commit 848f3dff9d
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ export class Client {
hashStream: ReadableStream,
size: bigint,
): Promise<string>;
async uploadFile(stream: Uint8Array, size?: bigint);
async uploadFile(stream: Uint8Array, size?: bigint): Promise<string>;
async uploadFile(
stream: NodeJS.ReadableStream,
hashStream: NodeJS.ReadableStream,