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;