Skip to content

BinaryResource

ts
type BinaryResource: object;

Boot resource with binary content.

Type declaration

content?

ts
readonly optional content: Uint8Array | string;

Binary or base64-encoded content of the file; undefined when embedding disabled.

name

ts
readonly name: string;

Name of the binary file, including extension.

Defined in

resources.ts:14 ↗