mirror of
https://github.com/morluto/rea.git
synced 2026-10-21 21:32:26 -05:00
fix(javascript): preserve semantic evidence through satisfies
This commit is contained in:
1 parent
4896adcd0f
commit
e995b19f83
4 files changed
+63
-3
No files matched your search
@@ -199,7 +199,8 @@ const evaluateExpression = (
|
||||
if (
|
||||
(t.isTSAsExpression(node) ||
|
||||
t.isTSTypeAssertion(node) ||
|
||||
t.isTSNonNullExpression(node)) &&
|
||||
t.isTSNonNullExpression(node) ||
|
||||
t.isTSSatisfiesExpression(node)) &&
|
||||
t.isExpression(node.expression)
|
||||
)
|
||||
return evaluateExpression(node.expression, nestedContext(context));
|
||||
|
||||
Reference in new issue
Block a user