[orchestrator] fix tsc break introduced by happy-dom install
Adding happy-dom hoisted @types/node, changing global setTimeout's return type; src/ui/fax.ts stampTimer is a DOM timer id, so use window.setTimeout. One-line cross-lane touch by the orchestrator to unbreak the build it broke. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
86d765f90b
commit
c4f0538231
@ -64,7 +64,7 @@ export function createFax(data: GameData): Fax {
|
||||
void stampEl.offsetWidth; // force reflow so the animation re-runs
|
||||
cls(stampEl, 'is-on', true);
|
||||
clearTimeout(stampTimer);
|
||||
stampTimer = setTimeout(() => cls(stampEl, 'is-on', false), STAMP_MS);
|
||||
stampTimer = window.setTimeout(() => cls(stampEl, 'is-on', false), STAMP_MS);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user