From 10f9fa6da6cb02934f35b906039b09e78b6adcb4 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders Date: Thu, 8 Oct 2015 09:30:08 -0700 Subject: [PATCH] Fix lint: remove trailing whitespace on empty line --- 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 32fc57cee3a..24b9f1651ac 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -7981,7 +7981,7 @@ namespace ts { // get the original type -- represented as the type constraint of the this type type = getConstraintOfTypeParameter(type); } - + // TODO: why is the first part of this check here? if (!(getTargetType(type).flags & (TypeFlags.Class | TypeFlags.Interface) && hasBaseType(type, enclosingClass))) { error(node, Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1, symbolToString(prop), typeToString(enclosingClass));