From 8293300cc8dca81fd3a5f19a1a0d6b177113bf9f Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Tue, 29 Aug 2017 09:35:36 -0700 Subject: [PATCH] Use getPropertyOfObjectType to get a superclass property --- src/compiler/checker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 3f8406f3770d8..f199bf396ace0 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -14732,7 +14732,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; }