From 143af5d302c29ebc442d634b01dc10e923cd2d67 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Mon, 23 Dec 2024 08:38:38 +0000 Subject: [PATCH] =?UTF-8?q?refactor:=20=E2=99=BB=EF=B8=8F=20update=20retur?= =?UTF-8?q?n=20type=20for=20renderDefDataNode=20to=20Promise?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/promptdom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/promptdom.ts b/packages/core/src/promptdom.ts index 7d3a0ef9a..856c0a5ea 100644 --- a/packages/core/src/promptdom.ts +++ b/packages/core/src/promptdom.ts @@ -326,7 +326,7 @@ function renderDefNode(def: PromptDefNode): string { return res } -async function renderDefDataNode(n: PromptDefDataNode): string { +async function renderDefDataNode(n: PromptDefDataNode): Promise { const { name, headers, priority, ephemeral, query } = n let data = n.resolved let format = n.format