mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Fix world:set type (#134)
This commit is contained in:
parent
6def84e8d9
commit
c4deb715fa
1 changed files with 1 additions and 1 deletions
2
src/index.d.ts
vendored
2
src/index.d.ts
vendored
|
@ -135,7 +135,7 @@ export class World {
|
||||||
* @param component Target Component
|
* @param component Target Component
|
||||||
* @param data Component Data
|
* @param data Component Data
|
||||||
*/
|
*/
|
||||||
set<T>(entity: Entity, component: Id<T>, data: T): void;
|
set<T>(entity: Entity, component: Id<T>, data: NoInfer<T>): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes a component from the given entity
|
* Removes a component from the given entity
|
||||||
|
|
Loading…
Reference in a new issue