Remove getTime workaround and Node.js type bleeding (#723)

- Removes legacy timer workaround (redundant on Chrome v6 / Node.js v16)
- Removes old type workarounds
- Improves type inference speed
This commit is contained in:
filtered
2025-03-09 00:27:49 +11:00
committed by GitHub
parent 7119480f84
commit 68945cb54d
5 changed files with 9 additions and 28 deletions

View File

@@ -375,7 +375,6 @@ export class LGraph implements LinkNetwork, Serialisable<SerialisableGraph> {
on_frame()
} else {
// execute every 'interval' ms
// @ts-expect-error
this.execution_timer_id = setInterval(() => {
// execute
this.onBeforeStep?.()