mirror of
https://github.com/Ukendio/jecs.git
synced 2026-02-04 15:15:21 +00:00
Add DEBUG parameter to world typings (#297)
This commit is contained in:
parent
be74de6b3e
commit
c9b3362a9c
1 changed files with 1 additions and 1 deletions
2
src/jecs.d.ts
vendored
2
src/jecs.d.ts
vendored
|
|
@ -280,7 +280,7 @@ export class World {
|
||||||
removed<T>(component: Entity<T>, listener: (e: Entity, id: Id<T>, deleted?: true) => void): () => void;
|
removed<T>(component: Entity<T>, listener: (e: Entity, id: Id<T>, deleted?: true) => void): () => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function world(): World;
|
export function world(DEBUG?: boolean): World;
|
||||||
|
|
||||||
export function component<T>(): Entity<T>;
|
export function component<T>(): Entity<T>;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue