description for archetype query

This commit is contained in:
maeriil 2025-01-31 01:08:02 -05:00
parent 2c2b32712b
commit c123014244

8
jecs.d.ts vendored
View file

@ -69,8 +69,8 @@ export type CachedQuery<T extends unknown[]> = {
iter(): Iter<T>;
/**
* 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<T>;
@ -103,8 +103,8 @@ export type Query<T extends unknown[]> = {
without(...components: Id[]): Query<T>;
/**
* 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<T>;