This commit is contained in:
Rizky 2024-04-09 16:18:40 +07:00
parent 2b238378e6
commit 6566b97c6f
1 changed files with 2 additions and 1 deletions

View File

@ -385,7 +385,8 @@ const propTypings = (prop: FNCompDef | undefined, types: any, meta: any) => {
if (!!prop && typeof prop.typings === "string") { if (!!prop && typeof prop.typings === "string") {
const typings_fn = new Function( const typings_fn = new Function(
"active", "active",
"_meta"`\ "_meta",
`\
${prop.typings}; ${prop.typings};
return typings;` return typings;`
); );