From c996bbc5c10dc90555d245f0af2e7596917732c6 Mon Sep 17 00:00:00 2001 From: daimond113 Date: Sun, 15 Jun 2025 17:15:19 +0200 Subject: [PATCH] Fix regression with set --- jecs.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jecs.d.ts b/jecs.d.ts index 015afc3..12ba7a4 100644 --- a/jecs.d.ts +++ b/jecs.d.ts @@ -165,7 +165,7 @@ export class World { * @param component The component definition (could be a Pair or Entity). * @param value The value to store with that component. */ - set(entity: Entity, component: Id, value: T): void; + set>(entity: Entity, component: E, value: InferComponent): void; /** * Cleans up the world by removing empty archetypes and rebuilding the archetype collections.