1// @target: es2020 2 3// All declarations should pass, as valueOf has been specialized for all TypedArrays 4const typedArray0: Int8Array = (new Int8Array()).valueOf(); 5const typedArray1: Uint8Array = (new Uint8Array()).valueOf(); 6const typedArray2: Int16Array = (new Int16Array()).valueOf(); 7const typedArray3: Uint16Array = (new Uint16Array()).valueOf(); 8const typedArray4: Int32Array = (new Int32Array()).valueOf(); 9const typedArray5: Uint32Array = (new Uint32Array()).valueOf(); 10const typedArray6: Float32Array = (new Float32Array()).valueOf(); 11const typedArray7: Float64Array = (new Float64Array()).valueOf(); 12const typedArray8: BigInt64Array = (new BigInt64Array()).valueOf(); 13const typedArray9: BigUint64Array = (new BigUint64Array()).valueOf(); 14