From 4b2af4812c43b5b09b126af502416998b765b40e Mon Sep 17 00:00:00 2001 From: EncodedVenom <32179912+EncodedVenom@users.noreply.github.com> Date: Mon, 5 Aug 2024 15:09:31 +0100 Subject: [PATCH] Update index.d.ts doc comment on query:with --- src/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) 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