From 0cf4c6caba1f46e6094e1c59c0906f2b6ee9b5d1 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders Date: Mon, 9 Nov 2015 10:44:02 -0800 Subject: [PATCH] Fix linter error --- 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 4f39ada7a53..1a5348018b8 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -2875,7 +2875,7 @@ namespace ts { let baseTypeNode = getBaseTypeNodeOfClass(type); let baseType: Type; let originalBaseType = baseConstructorType && baseConstructorType.symbol ? getDeclaredTypeOfSymbol(baseConstructorType.symbol) : undefined; - if (baseConstructorType.symbol && baseConstructorType.symbol.flags & SymbolFlags.Class && + if (baseConstructorType.symbol && baseConstructorType.symbol.flags & SymbolFlags.Class && !baseTypeHasUnappliedOuterTypeParameters(originalBaseType)) { // When base constructor type is a class with no captured type arguments we know that the constructors all have the same type parameters as the // class and all return the instance type of the class. There is no need for further checks and we can apply the