### Bug description Error `TypeError: internref expected` is raised by `__lowerInternref` when a Map is passed to a function ### Steps to reproduce create a .ts file with ```TypeScript export function mapError(map: Map<i32, String>): void { console.log(`Has one? ${map.has(1)}`); } ``` compile with ```bash asc assembly/index.ts --target debug && asc assembly/index.ts --target release ``` in a js file ``` import { mapError } from "../build/debug.js"; mapError(new Map()) ``` ### AssemblyScript version 0.27.13