mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 09:30:03 +00:00
Update index.d.ts
doc comment on query:with
This commit is contained in:
parent
9b6f5e9fc3
commit
4b2af4812c
1 changed files with 5 additions and 0 deletions
5
src/index.d.ts
vendored
5
src/index.d.ts
vendored
|
@ -8,6 +8,11 @@ type Query<T extends unknown[]> = {
|
|||
* Resets the Iterator for a query.
|
||||
*/
|
||||
drain: (this: Query<T>) => Query<T>
|
||||
/**
|
||||
* Modifies the query to include specified components, but will not include the values.
|
||||
* @param components The components to include
|
||||
* @returns Modified Query
|
||||
*/
|
||||
with: (this: Query<T>, ...components: Entity[]) => Query<T>
|
||||
/**
|
||||
* Modifies the Query to exclude specified components
|
||||
|
|
Loading…
Reference in a new issue