From 6566b97c6f744a8373f9e29142358c926983d6f0 Mon Sep 17 00:00:00 2001 From: Rizky Date: Tue, 9 Apr 2024 16:18:40 +0700 Subject: [PATCH] fix --- app/web/src/nova/ed/panel/popup/script/monaco.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/web/src/nova/ed/panel/popup/script/monaco.tsx b/app/web/src/nova/ed/panel/popup/script/monaco.tsx index 335cd7a2..2c4a7ae4 100644 --- a/app/web/src/nova/ed/panel/popup/script/monaco.tsx +++ b/app/web/src/nova/ed/panel/popup/script/monaco.tsx @@ -385,7 +385,8 @@ const propTypings = (prop: FNCompDef | undefined, types: any, meta: any) => { if (!!prop && typeof prop.typings === "string") { const typings_fn = new Function( "active", - "_meta"`\ + "_meta", + `\ ${prop.typings}; return typings;` );