diff --git a/src/lib/es2020.bigint.d.ts b/src/lib/es2020.bigint.d.ts index f1f3282306136..8a2ba01a1a335 100644 --- a/src/lib/es2020.bigint.d.ts +++ b/src/lib/es2020.bigint.d.ts @@ -130,7 +130,7 @@ declare var BigInt: BigIntConstructor; */ interface BigInt64Array { /** The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 8; /** The ArrayBuffer instance referenced by the array. */ readonly buffer: TArrayBuffer; @@ -377,7 +377,7 @@ interface BigInt64ArrayConstructor { new (array: ArrayLike | ArrayBuffer): BigInt64Array; /** The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 8; /** * Returns a new array from a set of elements. @@ -421,7 +421,7 @@ declare var BigInt64Array: BigInt64ArrayConstructor; */ interface BigUint64Array { /** The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 8; /** The ArrayBuffer instance referenced by the array. */ readonly buffer: TArrayBuffer; @@ -668,7 +668,7 @@ interface BigUint64ArrayConstructor { new (array: ArrayLike | ArrayBuffer): BigUint64Array; /** The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 8; /** * Returns a new array from a set of elements. diff --git a/src/lib/es2025.float16.d.ts b/src/lib/es2025.float16.d.ts index 6a1f600040d75..6b6e0980cd8ad 100644 --- a/src/lib/es2025.float16.d.ts +++ b/src/lib/es2025.float16.d.ts @@ -9,7 +9,7 @@ interface Float16Array { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 2; /** * The ArrayBuffer instance referenced by the array. @@ -362,7 +362,7 @@ interface Float16ArrayConstructor { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 2; /** * Returns a new array from a set of elements. diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index c5e02c71c1cf2..cdd4ecad67a8a 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -1866,7 +1866,7 @@ interface Int8Array { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 1; /** * The ArrayBuffer instance referenced by the array. @@ -2116,7 +2116,7 @@ interface Int8ArrayConstructor { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 1; /** * Returns a new array from a set of elements. @@ -2148,7 +2148,7 @@ interface Uint8Array { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 1; /** * The ArrayBuffer instance referenced by the array. @@ -2398,7 +2398,7 @@ interface Uint8ArrayConstructor { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 1; /** * Returns a new array from a set of elements. @@ -2430,7 +2430,7 @@ interface Uint8ClampedArray { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 2; /** * The ArrayBuffer instance referenced by the array. @@ -2961,7 +2961,7 @@ interface Int16ArrayConstructor { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 2; /** * Returns a new array from a set of elements. @@ -2993,7 +2993,7 @@ interface Uint16Array { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 2; /** * The ArrayBuffer instance referenced by the array. @@ -3243,7 +3243,7 @@ interface Uint16ArrayConstructor { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 2; /** * Returns a new array from a set of elements. @@ -3274,7 +3274,7 @@ interface Int32Array { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 4; /** * The ArrayBuffer instance referenced by the array. @@ -3524,7 +3524,7 @@ interface Int32ArrayConstructor { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 4; /** * Returns a new array from a set of elements. @@ -3556,7 +3556,7 @@ interface Uint32Array { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 4; /** * The ArrayBuffer instance referenced by the array. @@ -3805,7 +3805,7 @@ interface Uint32ArrayConstructor { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 4; /** * Returns a new array from a set of elements. @@ -3837,7 +3837,7 @@ interface Float32Array { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 4; /** * The ArrayBuffer instance referenced by the array. @@ -4087,7 +4087,7 @@ interface Float32ArrayConstructor { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 4; /** * Returns a new array from a set of elements. @@ -4119,7 +4119,7 @@ interface Float64Array { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 8; /** * The ArrayBuffer instance referenced by the array. @@ -4369,7 +4369,7 @@ interface Float64ArrayConstructor { /** * The size in bytes of each element in the array. */ - readonly BYTES_PER_ELEMENT: number; + readonly BYTES_PER_ELEMENT: 8; /** * Returns a new array from a set of elements. diff --git a/tests/baselines/reference/es2024SharedMemory.types b/tests/baselines/reference/es2024SharedMemory.types index 121218adef80b..bcfe079cfca7c 100644 --- a/tests/baselines/reference/es2024SharedMemory.types +++ b/tests/baselines/reference/es2024SharedMemory.types @@ -14,12 +14,12 @@ const sab = new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 1024); > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Int32Array.BYTES_PER_ELEMENT * 1024 : number > : ^^^^^^ ->Int32Array.BYTES_PER_ELEMENT : number -> : ^^^^^^ +>Int32Array.BYTES_PER_ELEMENT : 4 +> : ^ >Int32Array : Int32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->BYTES_PER_ELEMENT : number -> : ^^^^^^ +>BYTES_PER_ELEMENT : 4 +> : ^ >1024 : 1024 > : ^^^^ @@ -42,12 +42,12 @@ const sab64 = new SharedArrayBuffer(BigInt64Array.BYTES_PER_ELEMENT * 1024); > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >BigInt64Array.BYTES_PER_ELEMENT * 1024 : number > : ^^^^^^ ->BigInt64Array.BYTES_PER_ELEMENT : number -> : ^^^^^^ +>BigInt64Array.BYTES_PER_ELEMENT : 8 +> : ^ >BigInt64Array : BigInt64ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^^ ->BYTES_PER_ELEMENT : number -> : ^^^^^^ +>BYTES_PER_ELEMENT : 8 +> : ^ >1024 : 1024 > : ^^^^ diff --git a/tests/baselines/reference/sharedMemory.types b/tests/baselines/reference/sharedMemory.types index 136d5172d751f..b6c86c4b9c98d 100644 --- a/tests/baselines/reference/sharedMemory.types +++ b/tests/baselines/reference/sharedMemory.types @@ -10,12 +10,12 @@ const sab = new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 1024); > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Int32Array.BYTES_PER_ELEMENT * 1024 : number > : ^^^^^^ ->Int32Array.BYTES_PER_ELEMENT : number -> : ^^^^^^ +>Int32Array.BYTES_PER_ELEMENT : 4 +> : ^ >Int32Array : Int32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->BYTES_PER_ELEMENT : number -> : ^^^^^^ +>BYTES_PER_ELEMENT : 4 +> : ^ >1024 : 1024 > : ^^^^ @@ -38,12 +38,12 @@ const sab64 = new SharedArrayBuffer(BigInt64Array.BYTES_PER_ELEMENT * 1024); > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >BigInt64Array.BYTES_PER_ELEMENT * 1024 : number > : ^^^^^^ ->BigInt64Array.BYTES_PER_ELEMENT : number -> : ^^^^^^ +>BigInt64Array.BYTES_PER_ELEMENT : 8 +> : ^ >BigInt64Array : BigInt64ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^^ ->BYTES_PER_ELEMENT : number -> : ^^^^^^ +>BYTES_PER_ELEMENT : 8 +> : ^ >1024 : 1024 > : ^^^^ diff --git a/tests/baselines/reference/typedArraysCrossAssignability01.errors.txt b/tests/baselines/reference/typedArraysCrossAssignability01.errors.txt index 4ade6cbf9f636..69f04a65107b6 100644 --- a/tests/baselines/reference/typedArraysCrossAssignability01.errors.txt +++ b/tests/baselines/reference/typedArraysCrossAssignability01.errors.txt @@ -2,23 +2,23 @@ typedArraysCrossAssignability01.ts(13,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Int8Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int16Array"' is not assignable to type '"Int8Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '2' is not assignable to type '1'. typedArraysCrossAssignability01.ts(15,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Int8Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint16Array"' is not assignable to type '"Int8Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '2' is not assignable to type '1'. typedArraysCrossAssignability01.ts(16,5): error TS2322: Type 'Int32Array' is not assignable to type 'Int8Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int32Array"' is not assignable to type '"Int8Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '1'. typedArraysCrossAssignability01.ts(17,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Int8Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint32Array"' is not assignable to type '"Int8Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '1'. typedArraysCrossAssignability01.ts(18,5): error TS2322: Type 'Float32Array' is not assignable to type 'Int8Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Float32Array"' is not assignable to type '"Int8Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '1'. typedArraysCrossAssignability01.ts(19,5): error TS2322: Type 'Float64Array' is not assignable to type 'Int8Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Float64Array"' is not assignable to type '"Int8Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '8' is not assignable to type '1'. typedArraysCrossAssignability01.ts(20,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Int8Array'. Types of property '[Symbol.toStringTag]' are incompatible. Type '"Uint8ClampedArray"' is not assignable to type '"Int8Array"'. @@ -26,86 +26,86 @@ typedArraysCrossAssignability01.ts(22,5): error TS2322: Type 'Int8Array' is not assignable to type 'Uint8Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int16Array"' is not assignable to type '"Uint8Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '2' is not assignable to type '1'. typedArraysCrossAssignability01.ts(25,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Uint8Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint16Array"' is not assignable to type '"Uint8Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '2' is not assignable to type '1'. typedArraysCrossAssignability01.ts(26,5): error TS2322: Type 'Int32Array' is not assignable to type 'Uint8Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int32Array"' is not assignable to type '"Uint8Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '1'. typedArraysCrossAssignability01.ts(27,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Uint8Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint32Array"' is not assignable to type '"Uint8Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '1'. typedArraysCrossAssignability01.ts(28,5): error TS2322: Type 'Float32Array' is not assignable to type 'Uint8Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Float32Array"' is not assignable to type '"Uint8Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '1'. typedArraysCrossAssignability01.ts(29,5): error TS2322: Type 'Float64Array' is not assignable to type 'Uint8Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Float64Array"' is not assignable to type '"Uint8Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '8' is not assignable to type '1'. typedArraysCrossAssignability01.ts(30,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Uint8Array'. Types of property '[Symbol.toStringTag]' are incompatible. Type '"Uint8ClampedArray"' is not assignable to type '"Uint8Array"'. typedArraysCrossAssignability01.ts(32,5): error TS2322: Type 'Int8Array' is not assignable to type 'Int16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int8Array"' is not assignable to type '"Int16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '2'. typedArraysCrossAssignability01.ts(33,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Int16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint8Array"' is not assignable to type '"Int16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '2'. typedArraysCrossAssignability01.ts(35,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Int16Array'. Types of property '[Symbol.toStringTag]' are incompatible. Type '"Uint16Array"' is not assignable to type '"Int16Array"'. typedArraysCrossAssignability01.ts(36,5): error TS2322: Type 'Int32Array' is not assignable to type 'Int16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int32Array"' is not assignable to type '"Int16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '2'. typedArraysCrossAssignability01.ts(37,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Int16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint32Array"' is not assignable to type '"Int16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '2'. typedArraysCrossAssignability01.ts(38,5): error TS2322: Type 'Float32Array' is not assignable to type 'Int16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Float32Array"' is not assignable to type '"Int16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '2'. typedArraysCrossAssignability01.ts(39,5): error TS2322: Type 'Float64Array' is not assignable to type 'Int16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Float64Array"' is not assignable to type '"Int16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '8' is not assignable to type '2'. typedArraysCrossAssignability01.ts(40,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Int16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint8ClampedArray"' is not assignable to type '"Int16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '2'. typedArraysCrossAssignability01.ts(42,5): error TS2322: Type 'Int8Array' is not assignable to type 'Uint16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int8Array"' is not assignable to type '"Uint16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '2'. typedArraysCrossAssignability01.ts(43,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Uint16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint8Array"' is not assignable to type '"Uint16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '2'. typedArraysCrossAssignability01.ts(44,5): error TS2322: Type 'Int16Array' is not assignable to type 'Uint16Array'. Types of property '[Symbol.toStringTag]' are incompatible. Type '"Int16Array"' is not assignable to type '"Uint16Array"'. typedArraysCrossAssignability01.ts(46,5): error TS2322: Type 'Int32Array' is not assignable to type 'Uint16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int32Array"' is not assignable to type '"Uint16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '2'. typedArraysCrossAssignability01.ts(47,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Uint16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint32Array"' is not assignable to type '"Uint16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '2'. typedArraysCrossAssignability01.ts(48,5): error TS2322: Type 'Float32Array' is not assignable to type 'Uint16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Float32Array"' is not assignable to type '"Uint16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '2'. typedArraysCrossAssignability01.ts(49,5): error TS2322: Type 'Float64Array' is not assignable to type 'Uint16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Float64Array"' is not assignable to type '"Uint16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '8' is not assignable to type '2'. typedArraysCrossAssignability01.ts(50,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Uint16Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint8ClampedArray"' is not assignable to type '"Uint16Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '2'. typedArraysCrossAssignability01.ts(52,5): error TS2322: Type 'Int8Array' is not assignable to type 'Int32Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int8Array"' is not assignable to type '"Int32Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '4'. typedArraysCrossAssignability01.ts(53,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Int32Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint8Array"' is not assignable to type '"Int32Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '4'. typedArraysCrossAssignability01.ts(54,5): error TS2322: Type 'Int16Array' is not assignable to type 'Int32Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int16Array"' is not assignable to type '"Int32Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '2' is not assignable to type '4'. typedArraysCrossAssignability01.ts(55,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Int32Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint16Array"' is not assignable to type '"Int32Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '2' is not assignable to type '4'. typedArraysCrossAssignability01.ts(57,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Int32Array'. Types of property '[Symbol.toStringTag]' are incompatible. Type '"Uint32Array"' is not assignable to type '"Int32Array"'. @@ -113,23 +113,23 @@ typedArraysCrossAssignability01.ts(58,5): error TS2322: Type 'Float32Array' is not assignable to type 'Int32Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Float64Array"' is not assignable to type '"Int32Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '8' is not assignable to type '4'. typedArraysCrossAssignability01.ts(60,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Int32Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint8ClampedArray"' is not assignable to type '"Int32Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '4'. typedArraysCrossAssignability01.ts(62,5): error TS2322: Type 'Int8Array' is not assignable to type 'Float32Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int8Array"' is not assignable to type '"Float32Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '4'. typedArraysCrossAssignability01.ts(63,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Float32Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint8Array"' is not assignable to type '"Float32Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '4'. typedArraysCrossAssignability01.ts(64,5): error TS2322: Type 'Int16Array' is not assignable to type 'Float32Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int16Array"' is not assignable to type '"Float32Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '2' is not assignable to type '4'. typedArraysCrossAssignability01.ts(65,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Float32Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint16Array"' is not assignable to type '"Float32Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '2' is not assignable to type '4'. typedArraysCrossAssignability01.ts(66,5): error TS2322: Type 'Int32Array' is not assignable to type 'Float32Array'. Types of property '[Symbol.toStringTag]' are incompatible. Type '"Int32Array"' is not assignable to type '"Float32Array"'. @@ -137,35 +137,35 @@ typedArraysCrossAssignability01.ts(67,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Float32Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Float64Array"' is not assignable to type '"Float32Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '8' is not assignable to type '4'. typedArraysCrossAssignability01.ts(70,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Float32Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint8ClampedArray"' is not assignable to type '"Float32Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '4'. typedArraysCrossAssignability01.ts(72,5): error TS2322: Type 'Int8Array' is not assignable to type 'Float64Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int8Array"' is not assignable to type '"Float64Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '8'. typedArraysCrossAssignability01.ts(73,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Float64Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint8Array"' is not assignable to type '"Float64Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '8'. typedArraysCrossAssignability01.ts(74,5): error TS2322: Type 'Int16Array' is not assignable to type 'Float64Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int16Array"' is not assignable to type '"Float64Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '2' is not assignable to type '8'. typedArraysCrossAssignability01.ts(75,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Float64Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint16Array"' is not assignable to type '"Float64Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '2' is not assignable to type '8'. typedArraysCrossAssignability01.ts(76,5): error TS2322: Type 'Int32Array' is not assignable to type 'Float64Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int32Array"' is not assignable to type '"Float64Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '8'. typedArraysCrossAssignability01.ts(77,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Float64Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint32Array"' is not assignable to type '"Float64Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '8'. typedArraysCrossAssignability01.ts(78,5): error TS2322: Type 'Float32Array' is not assignable to type 'Float64Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Float32Array"' is not assignable to type '"Float64Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '8'. typedArraysCrossAssignability01.ts(80,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Float64Array'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint8ClampedArray"' is not assignable to type '"Float64Array"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '1' is not assignable to type '8'. typedArraysCrossAssignability01.ts(82,5): error TS2322: Type 'Int8Array' is not assignable to type 'Uint8ClampedArray'. Types of property '[Symbol.toStringTag]' are incompatible. Type '"Int8Array"' is not assignable to type '"Uint8ClampedArray"'. @@ -173,23 +173,23 @@ typedArraysCrossAssignability01.ts(83,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Uint8ClampedArray'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int16Array"' is not assignable to type '"Uint8ClampedArray"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '2' is not assignable to type '1'. typedArraysCrossAssignability01.ts(85,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Uint8ClampedArray'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint16Array"' is not assignable to type '"Uint8ClampedArray"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '2' is not assignable to type '1'. typedArraysCrossAssignability01.ts(86,5): error TS2322: Type 'Int32Array' is not assignable to type 'Uint8ClampedArray'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Int32Array"' is not assignable to type '"Uint8ClampedArray"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '1'. typedArraysCrossAssignability01.ts(87,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Uint8ClampedArray'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Uint32Array"' is not assignable to type '"Uint8ClampedArray"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '1'. typedArraysCrossAssignability01.ts(88,5): error TS2322: Type 'Float32Array' is not assignable to type 'Uint8ClampedArray'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Float32Array"' is not assignable to type '"Uint8ClampedArray"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '4' is not assignable to type '1'. typedArraysCrossAssignability01.ts(89,5): error TS2322: Type 'Float64Array' is not assignable to type 'Uint8ClampedArray'. - Types of property '[Symbol.toStringTag]' are incompatible. - Type '"Float64Array"' is not assignable to type '"Uint8ClampedArray"'. + Types of property 'BYTES_PER_ELEMENT' are incompatible. + Type '8' is not assignable to type '1'. ==== typedArraysCrossAssignability01.ts (64 errors) ==== @@ -213,33 +213,33 @@ typedArraysCrossAssignability01.ts(89,5): error TS2322: Type 'Float64Array' is not assignable to type 'Int8Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int16Array"' is not assignable to type '"Int8Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '2' is not assignable to type '1'. arr_Int8Array = arr_Uint16Array; ~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint16Array' is not assignable to type 'Int8Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint16Array"' is not assignable to type '"Int8Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '2' is not assignable to type '1'. arr_Int8Array = arr_Int32Array; ~~~~~~~~~~~~~ !!! error TS2322: Type 'Int32Array' is not assignable to type 'Int8Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int32Array"' is not assignable to type '"Int8Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '1'. arr_Int8Array = arr_Uint32Array; ~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint32Array' is not assignable to type 'Int8Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Int8Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '1'. arr_Int8Array = arr_Float32Array; ~~~~~~~~~~~~~ !!! error TS2322: Type 'Float32Array' is not assignable to type 'Int8Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Float32Array"' is not assignable to type '"Int8Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '1'. arr_Int8Array = arr_Float64Array; ~~~~~~~~~~~~~ !!! error TS2322: Type 'Float64Array' is not assignable to type 'Int8Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Int8Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '8' is not assignable to type '1'. arr_Int8Array = arr_Uint8ClampedArray; ~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Int8Array'. @@ -255,33 +255,33 @@ typedArraysCrossAssignability01.ts(89,5): error TS2322: Type 'Float64Array' is not assignable to type 'Uint8Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int16Array"' is not assignable to type '"Uint8Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '2' is not assignable to type '1'. arr_Uint8Array = arr_Uint16Array; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint16Array' is not assignable to type 'Uint8Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint16Array"' is not assignable to type '"Uint8Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '2' is not assignable to type '1'. arr_Uint8Array = arr_Int32Array; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Int32Array' is not assignable to type 'Uint8Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int32Array"' is not assignable to type '"Uint8Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '1'. arr_Uint8Array = arr_Uint32Array; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint32Array' is not assignable to type 'Uint8Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Uint8Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '1'. arr_Uint8Array = arr_Float32Array; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Float32Array' is not assignable to type 'Uint8Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Float32Array"' is not assignable to type '"Uint8Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '1'. arr_Uint8Array = arr_Float64Array; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Float64Array' is not assignable to type 'Uint8Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Uint8Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '8' is not assignable to type '1'. arr_Uint8Array = arr_Uint8ClampedArray; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Uint8Array'. @@ -291,13 +291,13 @@ typedArraysCrossAssignability01.ts(89,5): error TS2322: Type 'Float64Array' is not assignable to type 'Int16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int8Array"' is not assignable to type '"Int16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '2'. arr_Int16Array = arr_Uint8Array; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint8Array' is not assignable to type 'Int16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint8Array"' is not assignable to type '"Int16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '2'. arr_Int16Array = arr_Int16Array; arr_Int16Array = arr_Uint16Array; ~~~~~~~~~~~~~~ @@ -307,39 +307,39 @@ typedArraysCrossAssignability01.ts(89,5): error TS2322: Type 'Float64Array' is not assignable to type 'Int16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int32Array"' is not assignable to type '"Int16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '2'. arr_Int16Array = arr_Uint32Array; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint32Array' is not assignable to type 'Int16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Int16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '2'. arr_Int16Array = arr_Float32Array; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Float32Array' is not assignable to type 'Int16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Float32Array"' is not assignable to type '"Int16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '2'. arr_Int16Array = arr_Float64Array; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Float64Array' is not assignable to type 'Int16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Int16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '8' is not assignable to type '2'. arr_Int16Array = arr_Uint8ClampedArray; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Int16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint8ClampedArray"' is not assignable to type '"Int16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '2'. arr_Uint16Array = arr_Int8Array; ~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Int8Array' is not assignable to type 'Uint16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int8Array"' is not assignable to type '"Uint16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '2'. arr_Uint16Array = arr_Uint8Array; ~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint8Array' is not assignable to type 'Uint16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint8Array"' is not assignable to type '"Uint16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '2'. arr_Uint16Array = arr_Int16Array; ~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Int16Array' is not assignable to type 'Uint16Array'. @@ -349,49 +349,49 @@ typedArraysCrossAssignability01.ts(89,5): error TS2322: Type 'Float64Array' is not assignable to type 'Uint16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int32Array"' is not assignable to type '"Uint16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '2'. arr_Uint16Array = arr_Uint32Array; ~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint32Array' is not assignable to type 'Uint16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Uint16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '2'. arr_Uint16Array = arr_Float32Array; ~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Float32Array' is not assignable to type 'Uint16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Float32Array"' is not assignable to type '"Uint16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '2'. arr_Uint16Array = arr_Float64Array; ~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Float64Array' is not assignable to type 'Uint16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Uint16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '8' is not assignable to type '2'. arr_Uint16Array = arr_Uint8ClampedArray; ~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Uint16Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint8ClampedArray"' is not assignable to type '"Uint16Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '2'. arr_Int32Array = arr_Int8Array; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Int8Array' is not assignable to type 'Int32Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int8Array"' is not assignable to type '"Int32Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '4'. arr_Int32Array = arr_Uint8Array; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint8Array' is not assignable to type 'Int32Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint8Array"' is not assignable to type '"Int32Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '4'. arr_Int32Array = arr_Int16Array; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Int16Array' is not assignable to type 'Int32Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int16Array"' is not assignable to type '"Int32Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '2' is not assignable to type '4'. arr_Int32Array = arr_Uint16Array; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint16Array' is not assignable to type 'Int32Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint16Array"' is not assignable to type '"Int32Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '2' is not assignable to type '4'. arr_Int32Array = arr_Int32Array; arr_Int32Array = arr_Uint32Array; ~~~~~~~~~~~~~~ @@ -406,34 +406,34 @@ typedArraysCrossAssignability01.ts(89,5): error TS2322: Type 'Float64Array' is not assignable to type 'Int32Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Int32Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '8' is not assignable to type '4'. arr_Int32Array = arr_Uint8ClampedArray; ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Int32Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint8ClampedArray"' is not assignable to type '"Int32Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '4'. arr_Float32Array = arr_Int8Array; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Int8Array' is not assignable to type 'Float32Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int8Array"' is not assignable to type '"Float32Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '4'. arr_Float32Array = arr_Uint8Array; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint8Array' is not assignable to type 'Float32Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint8Array"' is not assignable to type '"Float32Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '4'. arr_Float32Array = arr_Int16Array; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Int16Array' is not assignable to type 'Float32Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int16Array"' is not assignable to type '"Float32Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '2' is not assignable to type '4'. arr_Float32Array = arr_Uint16Array; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint16Array' is not assignable to type 'Float32Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint16Array"' is not assignable to type '"Float32Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '2' is not assignable to type '4'. arr_Float32Array = arr_Int32Array; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Int32Array' is not assignable to type 'Float32Array'. @@ -448,55 +448,55 @@ typedArraysCrossAssignability01.ts(89,5): error TS2322: Type 'Float64Array' is not assignable to type 'Float32Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Float32Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '8' is not assignable to type '4'. arr_Float32Array = arr_Uint8ClampedArray; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Float32Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint8ClampedArray"' is not assignable to type '"Float32Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '4'. arr_Float64Array = arr_Int8Array; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Int8Array' is not assignable to type 'Float64Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int8Array"' is not assignable to type '"Float64Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '8'. arr_Float64Array = arr_Uint8Array; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint8Array' is not assignable to type 'Float64Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint8Array"' is not assignable to type '"Float64Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '8'. arr_Float64Array = arr_Int16Array; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Int16Array' is not assignable to type 'Float64Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int16Array"' is not assignable to type '"Float64Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '2' is not assignable to type '8'. arr_Float64Array = arr_Uint16Array; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint16Array' is not assignable to type 'Float64Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint16Array"' is not assignable to type '"Float64Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '2' is not assignable to type '8'. arr_Float64Array = arr_Int32Array; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Int32Array' is not assignable to type 'Float64Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int32Array"' is not assignable to type '"Float64Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '8'. arr_Float64Array = arr_Uint32Array; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint32Array' is not assignable to type 'Float64Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Float64Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '8'. arr_Float64Array = arr_Float32Array; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Float32Array' is not assignable to type 'Float64Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Float32Array"' is not assignable to type '"Float64Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '8'. arr_Float64Array = arr_Float64Array; arr_Float64Array = arr_Uint8ClampedArray; ~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Float64Array'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint8ClampedArray"' is not assignable to type '"Float64Array"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '1' is not assignable to type '8'. arr_Uint8ClampedArray = arr_Int8Array; ~~~~~~~~~~~~~~~~~~~~~ @@ -511,33 +511,33 @@ typedArraysCrossAssignability01.ts(89,5): error TS2322: Type 'Float64Array' is not assignable to type 'Uint8ClampedArray'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int16Array"' is not assignable to type '"Uint8ClampedArray"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '2' is not assignable to type '1'. arr_Uint8ClampedArray = arr_Uint16Array; ~~~~~~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint16Array' is not assignable to type 'Uint8ClampedArray'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint16Array"' is not assignable to type '"Uint8ClampedArray"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '2' is not assignable to type '1'. arr_Uint8ClampedArray = arr_Int32Array; ~~~~~~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Int32Array' is not assignable to type 'Uint8ClampedArray'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Int32Array"' is not assignable to type '"Uint8ClampedArray"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '1'. arr_Uint8ClampedArray = arr_Uint32Array; ~~~~~~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Uint32Array' is not assignable to type 'Uint8ClampedArray'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Uint8ClampedArray"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '1'. arr_Uint8ClampedArray = arr_Float32Array; ~~~~~~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Float32Array' is not assignable to type 'Uint8ClampedArray'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Float32Array"' is not assignable to type '"Uint8ClampedArray"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '4' is not assignable to type '1'. arr_Uint8ClampedArray = arr_Float64Array; ~~~~~~~~~~~~~~~~~~~~~ !!! error TS2322: Type 'Float64Array' is not assignable to type 'Uint8ClampedArray'. -!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible. -!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Uint8ClampedArray"'. +!!! error TS2322: Types of property 'BYTES_PER_ELEMENT' are incompatible. +!!! error TS2322: Type '8' is not assignable to type '1'. arr_Uint8ClampedArray = arr_Uint8ClampedArray; }