From 21a526a9e7cc492d67c5967de0bbbee6fab58ecc Mon Sep 17 00:00:00 2001 From: Eric Allam Date: Tue, 17 Feb 2026 12:49:23 +0000 Subject: [PATCH] fix(docs): Fix loop to iterate over results.runs --- docs/triggering.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/triggering.mdx b/docs/triggering.mdx index 602838e4f78..874779de6e6 100644 --- a/docs/triggering.mdx +++ b/docs/triggering.mdx @@ -541,7 +541,7 @@ export const parentTask = task({ { id: "child-task-2", payload: { bar: 42 } }, // 👈 The payload is typed correctly based on the task `id` ]); - for (const result of results) { + for (const result of results.runs) { if (result.ok) { // 👇 Narrow the type of the result based on the taskIdentifier switch (result.taskIdentifier) {