Update jecs.d.ts

Added cached to the query type
This commit is contained in:
Laud Boateng 2024-12-27 00:37:13 -05:00 committed by GitHub
parent f8b3772bce
commit a2a9d080b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

4
jecs.d.ts vendored
View file

@ -61,6 +61,10 @@ export type Query<T extends unknown[]> = {
* @returns Modified Query
*/
without(...components: Id[]): Query<T>;
/**
* Caches the query
*/
cached(): Query<T>;
} & Iter<T>;
export class World {