Fix lint: remove trailing whitespace on empty line
This commit is contained in:
parent
2fb6eabc2e
commit
10f9fa6da6
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue