Skip to content

@ue-too/being-portable / defineHost

Function: defineHost() ​

defineHost(definition): Host

Defined in: being-portable/src/host.ts:92

Validates and freezes a host. Host code is trusted, so a malformed host throws instead of returning errors.

Parameters ​

definition ​

HostDefinition = {}

Returns ​

Host