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;` );