We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9f11a7 commit 8c88d0cCopy full SHA for 8c88d0c
packages/core/src/definitions/Attachment.ts
@@ -11,7 +11,7 @@ interface Attachment {
11
* Binary content of the file
12
* Required
13
*/
14
- content?: string | Buffer | Blob | NodeJS.ReadableStream;
+ content?: string | Uint8Array | Blob | AsyncIterable<Uint8Array>;
15
16
/**
17
* Content type of the file, such as "image/png"
packages/core/src/types.ts
@@ -61,5 +61,5 @@ export interface FormFile {
61
name: string;
62
filename: string;
63
contentType: string;
64
- content: string | Buffer | Blob | NodeJS.ReadableStream;
+ content: string | Uint8Array | Blob | AsyncIterable<Uint8Array>;
65
}
0 commit comments