mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 02:33:53 -06:00
Use getPropertyOfObjectType to get a superclass property (#18113)
This commit is contained in:
parent
78524c1b90
commit
7ac4380514
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user