reproduction: https://tinyurl.com/2h4mss46
function bufferData<T>(array: TypedArray<T>): i32 {
return array.length
}
export function fib(n: i32): i32 {
const a = new Float32Array(10)
return bufferData(a)
}
When compiled with asc it errors with
ERROR TS2304: Cannot find name 'TypedArray'.