fix: update uploadFile overload types
This commit is contained in:
parent
06a8093786
commit
45fbc1b63d
|
@ -282,18 +282,18 @@ export class Client {
|
|||
);
|
||||
}
|
||||
|
||||
async uploadFile(stream: Blob, size?: bigint);
|
||||
async uploadFile(stream: Blob, size?: bigint): Promise<string>;
|
||||
async uploadFile(
|
||||
stream: ReadableStream,
|
||||
hashStream: ReadableStream,
|
||||
size: bigint,
|
||||
);
|
||||
): Promise<string>;
|
||||
async uploadFile(stream: Uint8Array, size?: bigint);
|
||||
async uploadFile(
|
||||
stream: NodeJS.ReadableStream,
|
||||
hashStream: NodeJS.ReadableStream,
|
||||
size?: bigint,
|
||||
);
|
||||
): Promise<string>;
|
||||
async uploadFile(
|
||||
stream: any,
|
||||
hashStream?: any,
|
||||
|
|
Loading…
Reference in New Issue