mirror of
https://github.com/Ukendio/jecs.git
synced 2025-08-04 03:09:18 +00:00
fix: add overload for world.entity
This commit is contained in:
parent
a39752a833
commit
06bd909f51
1 changed files with 1 additions and 0 deletions
1
jecs.d.ts
vendored
1
jecs.d.ts
vendored
|
@ -120,6 +120,7 @@ export class World {
|
|||
* @returns An entity (Tag) with no data.
|
||||
*/
|
||||
entity(): Tag;
|
||||
entity(id: number): Tag;
|
||||
|
||||
/**
|
||||
* Creates a new entity in the first 256 IDs, typically used for static
|
||||
|
|
Loading…
Reference in a new issue