diff --git a/jecs.d.ts b/jecs.d.ts index 8d2e03e..07398c5 100644 --- a/jecs.d.ts +++ b/jecs.d.ts @@ -157,7 +157,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: E, value: InferComponent): void; + set(entity: Entity, component: Id, value: T): void; /** * Installs a hook on the given component.