mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
fix "set" method defition
This commit is contained in:
parent
edf2e642c4
commit
e28a6bc819
1 changed files with 1 additions and 1 deletions
2
jecs.d.ts
vendored
2
jecs.d.ts
vendored
|
@ -149,7 +149,7 @@ export class World {
|
||||||
* @param component Target Component
|
* @param component Target Component
|
||||||
* @param value Component Value
|
* @param value Component Value
|
||||||
*/
|
*/
|
||||||
set(entity: Id, component: Entity, value: InferComponent<typeof component>): void;
|
set<TComponent extends Entity>(entity: Id, component: TComponent, value: InferComponent<NoInfer<TComponent>>): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes a component from the given entity
|
* Removes a component from the given entity
|
||||||
|
|
Loading…
Reference in a new issue