fix: undefined even if any

This commit is contained in:
cha0s 2021-01-31 11:46:05 -06:00
parent 13e2468032
commit a2bcd3bbeb

View File

@ -304,7 +304,7 @@ const Expression = ({
className={classnames(
'expression',
{'wrong-type': 'any' !== type && 'undefined' !== type && realType !== type},
{'undefined-type': 'any' !== type && 'undefined' === realType},
{'undefined-type': 'undefined' === realType},
)}
>
{Renderables}