diff --git a/src/index.d.ts b/src/index.d.ts index 22a780c..6d7e771 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -8,6 +8,11 @@ type Query = { * Resets the Iterator for a query. */ drain: (this: Query) => Query + /** + * 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, ...components: Entity[]) => Query /** * Modifies the Query to exclude specified components