infer invariants

This commit is contained in:
nonamie 2024-12-14 20:22:51 +03:00
parent 15d5c44085
commit e8575a0db6

2
jecs.d.ts vendored
View file

@ -134,7 +134,7 @@ export class World {
* @param component Target Component
* @param value Component Value
*/
set<TData>(entity: Id, component: Entity<TData>, value: NoInfer<TData>): void;
set<TData>(entity: Id, component: Entity<TData>, value: TData): void;
/**
* Removes a component from the given entity