restore rectangle.ts

This commit is contained in:
snomiao
2025-08-17 19:33:39 +00:00
parent 2cc7ae2bc6
commit 13a6a20e4f

View File

@@ -68,7 +68,6 @@ export class Rectangle extends Float64Array {
override subarray(
begin: number = 0,
end?: number
// @ts-expect-error TypeScript lib typing issue - Float64Array is not generic
): Float64Array<ArrayBuffer> {
const byteOffset = begin << 3
const length = end === undefined ? end : end - begin