more fixes

This commit is contained in:
maeriil 2025-12-01 14:15:49 -05:00
parent 3ca059683c
commit 57ff16398a

2
src/jecs.d.ts vendored
View file

@ -178,7 +178,7 @@ export class World {
* @param entity The target entity. * @param entity The target entity.
* @param component The component (or tag) to add. * @param component The component (or tag) to add.
*/ */
add<C>(entity: Entity, component: TagDiscriminator extends InferComponent<C> ? C : Id <TagDiscriminator>): void; add<C>(entity: Entity, component: TagDiscriminator extends InferComponent<C> ? C : Id<TagDiscriminator>): void;
/** /**
* Installs a hook on the given component. * Installs a hook on the given component.