pub fn wpheaptype_to_type(ty: HeapType) -> WasmResult<Type>
Converts a wasmparser heap type to a Wasm Type.