Skip to content

Commit 7ac4380

Browse files
author
Andy
authored
Use getPropertyOfObjectType to get a superclass property (#18113)
1 parent 78524c1 commit 7ac4380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14737,7 +14737,7 @@ namespace ts {
1473714737
if (!classType) {
1473814738
return false;
1473914739
}
14740-
const superProperty = getPropertyOfType(classType, prop.escapedName);
14740+
const superProperty = getPropertyOfObjectType(classType, prop.escapedName);
1474114741
if (superProperty && superProperty.valueDeclaration) {
1474214742
return true;
1474314743
}

0 commit comments

Comments
 (0)