[typed arrays] fix compilation error - uninitialized type