Skip to main content
function getAsset
getAsset(key: AssetKey): ArrayBuffer
Deprecated

Deno compatibility

This symbol is not supported.

This method can be used to retrieve the assets configured to be bundled into the single-executable application at build time. An error is thrown when no matching asset can be found.

Parameters

Return Type

ArrayBuffer
getAsset(
key: AssetKey,
encoding: string,
): string
Deprecated

Deno compatibility

This symbol is not supported.

Parameters

encoding: string

Return Type

string
Back to top