Defer-check function/method nodes even when context-sensitive.
This commit is contained in:
parent
0f67f4b6f1
commit
aa3e8d1e68
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue