Skip arrow functions in checkAndReportErrorForMissingPrefix (#23584)

This commit is contained in:
Andy authored and GitHub committed 2018-04-20 15:02:18 -07:00
1 parent 5c94bef0e1
commit 699ea246ff
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1568,7 +1568,7 @@ namespace ts {
return false;
}
const container = getThisContainer(errorLocation, /*includeArrowFunctions*/ true);
const container = getThisContainer(errorLocation, /*includeArrowFunctions*/ false);
let location = container;
while (location) {
if (isClassLike(location.parent)) {