We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4d075a + 16368fe commit 09667e1Copy full SHA for 09667e1
src/array/typed_array.ts
@@ -41,6 +41,7 @@ export class TypedArray<T extends TypedArrays> extends SizedType<T> {
41
readPacked(dt: DataView, options: Options = { byteOffset: 0 }): T {
42
const value = new this.arrayConstructor(
43
dt.buffer,
44
+ // @ts-expect-error:
45
dt.byteOffset + options.byteOffset,
46
this.length,
47
).slice() as T;
@@ -56,6 +57,7 @@ export class TypedArray<T extends TypedArrays> extends SizedType<T> {
56
57
): void {
58
const view = new this.arrayConstructor(
59
60
61
62
63
);
0 commit comments