Defer-check function/method nodes even when context-sensitive.

This commit is contained in:
Nathan Shively-Sanders committed 2016-02-24 16:20:24 -08:00
1 parent 0f67f4b6f1
commit aa3e8d1e68
1 file changed
+1
+1
View File
@@ -10742,6 +10742,7 @@ namespace ts {
// The identityMapper object is used to indicate that function expressions are wildcards
if (contextualMapper === identityMapper && isContextSensitive(node)) {
checkNodeDeferred(node);
return anyFunctionType;
}