mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Defer-check function/method nodes even when context-sensitive.
This commit is contained in:
1 parent
acd9bef097
commit
395182192c
1 file changed
+1
@@ -10655,6 +10655,7 @@ namespace ts {
|
||||
|
||||
// The identityMapper object is used to indicate that function expressions are wildcards
|
||||
if (contextualMapper === identityMapper && isContextSensitive(node)) {
|
||||
checkNodeDeferred(node);
|
||||
return anyFunctionType;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user