mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-06 04:35:21 -05:00
Skip arrow functions in checkAndReportErrorForMissingPrefix (#23584)
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user