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