mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Fix lint: remove trailing whitespace on empty line
This commit is contained in:
1 parent
2fb6eabc2e
commit
10f9fa6da6
1 file changed
+1
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user