fix: update uploadFile return type
This commit is contained in:
parent
9bc225c542
commit
848f3dff9d
|
@ -288,7 +288,7 @@ export class Client {
|
||||||
hashStream: ReadableStream,
|
hashStream: ReadableStream,
|
||||||
size: bigint,
|
size: bigint,
|
||||||
): Promise<string>;
|
): Promise<string>;
|
||||||
async uploadFile(stream: Uint8Array, size?: bigint);
|
async uploadFile(stream: Uint8Array, size?: bigint): Promise<string>;
|
||||||
async uploadFile(
|
async uploadFile(
|
||||||
stream: NodeJS.ReadableStream,
|
stream: NodeJS.ReadableStream,
|
||||||
hashStream: NodeJS.ReadableStream,
|
hashStream: NodeJS.ReadableStream,
|
||||||
|
|
Loading…
Reference in New Issue