mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 09:30:03 +00:00
description for archetype query
This commit is contained in:
parent
2c2b32712b
commit
c123014244
1 changed files with 4 additions and 4 deletions
8
jecs.d.ts
vendored
8
jecs.d.ts
vendored
|
@ -69,8 +69,8 @@ export type CachedQuery<T extends unknown[]> = {
|
||||||
iter(): Iter<T>;
|
iter(): Iter<T>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the archetype of the query
|
* Returns the matched archetypes of the query
|
||||||
* @returns An array of archetype of the query
|
* @returns An array of archetypes of the query
|
||||||
*/
|
*/
|
||||||
archetypes(): Archetype[];
|
archetypes(): Archetype[];
|
||||||
} & Iter<T>;
|
} & Iter<T>;
|
||||||
|
@ -103,8 +103,8 @@ export type Query<T extends unknown[]> = {
|
||||||
without(...components: Id[]): Query<T>;
|
without(...components: Id[]): Query<T>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the archetype of the query
|
* Returns the matched archetypes of the query
|
||||||
* @returns An array of archetype of the query
|
* @returns An array of archetypes of the query
|
||||||
*/
|
*/
|
||||||
archetypes(): Archetype[];
|
archetypes(): Archetype[];
|
||||||
} & Iter<T>;
|
} & Iter<T>;
|
||||||
|
|
Loading…
Reference in a new issue