From c4deb715fabb79e8382c91cc49146df8d550d4be Mon Sep 17 00:00:00 2001 From: vnnh <90565423+vnnh@users.noreply.github.com> Date: Sat, 28 Sep 2024 13:13:23 -0500 Subject: [PATCH] Fix world:set type (#134) --- 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