Skip to content
您正在瀏覽 v0.19 的文件。最新版本為 v0.20。 前往最新文件

@ue-too/being-portable / defineHost

函式: defineHost() ​

defineHost(definition): Host

定義於: being-portable/src/host.ts:92

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

參數 ​

definition ​

HostDefinition = {}

回傳 ​

Host