From 6ce796e7fd0f145ea27b3ea3982c37f588d79c67 Mon Sep 17 00:00:00 2001 From: dai Date: Fri, 6 Jun 2025 15:13:54 +0200 Subject: [PATCH] Fix missing parens (#235) --- docs/learn/overview.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/learn/overview.md b/docs/learn/overview.md index 55c4f1f..ff3db1b 100644 --- a/docs/learn/overview.md +++ b/docs/learn/overview.md @@ -540,10 +540,10 @@ Test if entity has a relationship wildcard :::code-group ```luau [luau] -world:has(bob, pair(Eats, jecs.Wildcard) +world:has(bob, pair(Eats, jecs.Wildcard)) ``` ```typescript [typescript] -world.has(bob, pair(Eats, jecs.Wildcard) +world.has(bob, pair(Eats, jecs.Wildcard)) ``` ::: @@ -578,7 +578,7 @@ for id in world:query(pair(Eats, Apples)) do end ``` ```typescript [typescript] -for (const [id] of world.query(pair(Eats, Apples)) { +for (const [id] of world.query(pair(Eats, Apples))) { // ... } ``` @@ -593,7 +593,7 @@ for id in world:query(pair(Eats, jecs.Wildcard)) do end ``` ```typescript [typescript] -for (const [id] of world.query(pair(Eats, jecs.Wildcard)) { +for (const [id] of world.query(pair(Eats, jecs.Wildcard))) { const food = world.target(id, Eats) // Apples, ... } ``` @@ -608,7 +608,7 @@ for child in world:query(pair(jecs.ChildOf, parent)) do end ``` ```typescript [typescript] -for (const [child] of world.query(pair(jecs.ChildOf, parent)) { +for (const [child] of world.query(pair(jecs.ChildOf, parent))) { // ... } ```