mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 04:43:37 -05:00
Use getPropertyOfObjectType to get a superclass property (#18113)
This commit is contained in:
@@ -14737,7 +14737,7 @@ namespace ts {
|
||||
if (!classType) {
|
||||
return false;
|
||||
}
|
||||
const superProperty = getPropertyOfType(classType, prop.escapedName);
|
||||
const superProperty = getPropertyOfObjectType(classType, prop.escapedName);
|
||||
if (superProperty && superProperty.valueDeclaration) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user