fix: update uploadFile return type
This commit is contained in:
parent
9bc225c542
commit
848f3dff9d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue