From a2a9d080b94c8b126763390bd36f6117df3cdc02 Mon Sep 17 00:00:00 2001 From: Laud Boateng Date: Fri, 27 Dec 2024 00:37:13 -0500 Subject: [PATCH] Update jecs.d.ts Added cached to the query type --- jecs.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jecs.d.ts b/jecs.d.ts index 8701f55..33dab79 100644 --- a/jecs.d.ts +++ b/jecs.d.ts @@ -61,6 +61,10 @@ export type Query = { * @returns Modified Query */ without(...components: Id[]): Query; + /** + * Caches the query + */ + cached(): Query; } & Iter; export class World {