This is Uint16Array<ArrayBuffer> (as opposed to Uint16Array<SharedArrayBuffer> and Uint16Array<ArrayBufferLike>) on TypeScript versions that support that distinction.
Uint16Array<ArrayBuffer>
Uint16Array<SharedArrayBuffer>
Uint16Array<ArrayBufferLike>
On TypeScript < 5.7, this is just Uint16Array, as it's not a template there.
Uint16Array
This is
Uint16Array<ArrayBuffer>(as opposed toUint16Array<SharedArrayBuffer>andUint16Array<ArrayBufferLike>) on TypeScript versions that support that distinction.On TypeScript < 5.7, this is just
Uint16Array, as it's not a template there.