From c123014244d39b999fce0042c2c53e15289fef1e Mon Sep 17 00:00:00 2001 From: maeriil Date: Fri, 31 Jan 2025 01:08:02 -0500 Subject: [PATCH] description for archetype query --- jecs.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jecs.d.ts b/jecs.d.ts index 7dea49f..70eaebf 100644 --- a/jecs.d.ts +++ b/jecs.d.ts @@ -69,8 +69,8 @@ export type CachedQuery = { iter(): Iter; /** - * Returns the archetype of the query - * @returns An array of archetype of the query + * Returns the matched archetypes of the query + * @returns An array of archetypes of the query */ archetypes(): Archetype[]; } & Iter; @@ -103,8 +103,8 @@ export type Query = { without(...components: Id[]): Query; /** - * Returns the archetype of the query - * @returns An array of archetype of the query + * Returns the matched archetypes of the query + * @returns An array of archetypes of the query */ archetypes(): Archetype[]; } & Iter;