Fix lint: remove trailing whitespace on empty line

This commit is contained in:
Nathan Shively-Sanders 2015-10-08 09:30:08 -07:00
parent 2fb6eabc2e
commit 10f9fa6da6

View file

@ -7981,7 +7981,7 @@ namespace ts {
// get the original type -- represented as the type constraint of the this type
type = getConstraintOfTypeParameter(<TypeParameter>type);
}
// TODO: why is the first part of this check here?
if (!(getTargetType(type).flags & (TypeFlags.Class | TypeFlags.Interface) && hasBaseType(<InterfaceType>type, enclosingClass))) {
error(node, Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1, symbolToString(prop), typeToString(enclosingClass));