fix: undefined even if any
This commit is contained in:
parent
13e2468032
commit
a2bcd3bbeb
|
@ -304,7 +304,7 @@ const Expression = ({
|
||||||
className={classnames(
|
className={classnames(
|
||||||
'expression',
|
'expression',
|
||||||
{'wrong-type': 'any' !== type && 'undefined' !== type && realType !== type},
|
{'wrong-type': 'any' !== type && 'undefined' !== type && realType !== type},
|
||||||
{'undefined-type': 'any' !== type && 'undefined' === realType},
|
{'undefined-type': 'undefined' === realType},
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{Renderables}
|
{Renderables}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user