From 582e02e0bec7fcb480f01298abc5b4c17def2bb9 Mon Sep 17 00:00:00 2001 From: vnnh <90565423+vnnh@users.noreply.github.com> Date: Sat, 28 Sep 2024 08:36:34 -0500 Subject: [PATCH] Fix world:set type --- src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index 6d62f68..9dc71af 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -135,7 +135,7 @@ export class World { * @param component Target Component * @param data Component Data */ - set(entity: Entity, component: Id, data: T): void; + set(entity: Entity, component: Id, data: NoInfer): void; /** * Removes a component from the given entity