<!-- Thanks for submitting an issue to AssemblyScript! Please take a moment to read the contributing guidelines linked below to get off to a good start 🙂 --> `wasm` ```ts export function test(a: i32 = 0): i32 { return a; } ``` `tsFile` ```ts declare module ASModule { type i8 = number; type i16 = number; type i32 = number; type i64 = bigint; type isize = number; type u8 = number; type u16 = number; type u32 = number; type u64 = bigint; type usize = number; type f32 = number; type f64 = number; type bool = boolean | number; export function test(a: i32): i32; } export default ASModule; ```