only keep query has

This commit is contained in:
maeriil 2025-12-01 14:18:50 -05:00
parent 57ff16398a
commit dc0e5f8b64

14
src/jecs.d.ts vendored
View file

@ -79,14 +79,6 @@ export type CachedQuery<T extends Id[]> = {
archetypes(): Archetype<T>[]; archetypes(): Archetype<T>[];
has(entity: Entity): boolean; has(entity: Entity): boolean;
ids: Id<any>[];
filter_with?: Id<any>[];
filter_without?: Id<any>[];
archetypes_map: Map<number, number>;
} & Iter<T>; } & Iter<T>;
export type Query<T extends Id[]> = { export type Query<T extends Id[]> = {
@ -123,12 +115,6 @@ export type Query<T extends Id[]> = {
archetypes(): Archetype<T>[]; archetypes(): Archetype<T>[];
has(entity: Entity): boolean; has(entity: Entity): boolean;
ids: Id<any>[];
filter_with?: Id<any>[];
filter_without?: Id<any>[];
} & Iter<T>; } & Iter<T>;
export class World { export class World {