Skip to content

TypeScript API / laikacms/assets / BinaryContent

Type Alias: BinaryContent ​

ts
type BinaryContent = Uint8Array | ArrayBuffer | ReadableStream<Uint8Array>;

Browser-compatible binary content type. Supports Uint8Array (works in both browser and Node.js), ArrayBuffer, and ReadableStream for streaming uploads.

Released under the MIT License.