From 1213319edc0b740e5c4a310e86ed43e413908776 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 14 Apr 2026 01:38:26 +0200 Subject: [PATCH] Update types in runtime-host.test.ts --- tests/unit/runtime-host.test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/unit/runtime-host.test.ts b/tests/unit/runtime-host.test.ts index 319155e6..204c912c 100644 --- a/tests/unit/runtime-host.test.ts +++ b/tests/unit/runtime-host.test.ts @@ -3,12 +3,16 @@ import { afterEach, describe, expect, it, vi } from "vitest"; import { createLightControlTargetRef, + type ControlEffect, createSetLightEnabledControlEffect, createSetLightIntensityControlEffect } from "../../src/controls/control-surface"; import { createEmptySceneDocument } from "../../src/document/scene-document"; import { createPointLightEntity } from "../../src/entities/entity-instances"; -import { createControlInteractionLink } from "../../src/interactions/interaction-links"; +import { + createControlInteractionLink, + type InteractionLink +} from "../../src/interactions/interaction-links"; import { RapierCollisionWorld } from "../../src/runtime-three/rapier-collision-world"; import { RuntimeHost, @@ -139,7 +143,7 @@ describe("RuntimeHost", () => { }); const hostInternals = host as unknown as { createInteractionDispatcher(): { - dispatchControlEffect(effect: typeof disableEffect, link: typeof disableLink): void; + dispatchControlEffect(effect: ControlEffect, link: InteractionLink): void; }; localLightObjects: Map< string,