Skip to main content

host_package_declarations

Function host_package_declarations 

Source
pub fn host_package_declarations() -> Vec<PackageDeclaration>
Expand description

PackageDeclaration for host fns the consumer imports directly. console.log and number.toString are excluded — they’re wrapped by prelude exports and must not appear as free-function bindings in the user’s scope.