fix: rawFile supports arrayBuffer (#277)

This commit is contained in:
MARCROCK22 2024-10-12 20:12:46 -04:00 committed by GitHub
parent 4a0a9ae130
commit 20b68bf97e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,7 +22,7 @@ export interface ApiHandlerInternalOptions extends MakeRequired<ApiHandlerOption
export interface RawFile { export interface RawFile {
contentType?: string; contentType?: string;
data: Buffer | Uint8Array | boolean | number | string; data: ArrayBuffer | Buffer | Uint8Array | boolean | number | string;
key?: string; key?: string;
filename: string; filename: string;
} }