mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Update jecs.d.ts
Added cached to the query type
This commit is contained in:
parent
f8b3772bce
commit
a2a9d080b9
1 changed files with 4 additions and 0 deletions
4
jecs.d.ts
vendored
4
jecs.d.ts
vendored
|
@ -61,6 +61,10 @@ export type Query<T extends unknown[]> = {
|
||||||
* @returns Modified Query
|
* @returns Modified Query
|
||||||
*/
|
*/
|
||||||
without(...components: Id[]): Query<T>;
|
without(...components: Id[]): Query<T>;
|
||||||
|
/**
|
||||||
|
* Caches the query
|
||||||
|
*/
|
||||||
|
cached(): Query<T>;
|
||||||
} & Iter<T>;
|
} & Iter<T>;
|
||||||
|
|
||||||
export class World {
|
export class World {
|
||||||
|
|
Loading…
Reference in a new issue