Add DEBUG parameter to world typings (#297)

This commit is contained in:
Christopher Buss 2026-01-29 22:58:33 +00:00 committed by GitHub
parent be74de6b3e
commit c9b3362a9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
src/jecs.d.ts vendored
View file

@ -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>;