[revert] Remove litegraph infrastructure changes unrelated to PR

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
snomiao
2025-08-16 10:33:38 +00:00
parent f989b055b7
commit 2cc7ae2bc6

View File

@@ -65,7 +65,11 @@ export class Rectangle extends Float64Array {
: new Rectangle(rect[0], rect[1], rect[2], rect[3])
}
override subarray(begin: number = 0, end?: number): 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
return new Float64Array(this.buffer, byteOffset, length)