fix
This commit is contained in:
parent
2b238378e6
commit
6566b97c6f
|
|
@ -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;`
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue