mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Appease the almighty linter.
This commit is contained in:
@@ -4832,13 +4832,13 @@ namespace ts {
|
||||
sourceType = typeToString(source, /*enclosingDeclaration*/ undefined, TypeFormatFlags.UseFullyQualifiedType);
|
||||
targetType = typeToString(target, /*enclosingDeclaration*/ undefined, TypeFormatFlags.UseFullyQualifiedType);
|
||||
}
|
||||
|
||||
|
||||
if (!message) {
|
||||
message = relation === comparableRelation ?
|
||||
Diagnostics.Type_0_is_not_comparable_with_type_1 :
|
||||
Diagnostics.Type_0_is_not_assignable_to_type_1
|
||||
Diagnostics.Type_0_is_not_assignable_to_type_1;
|
||||
}
|
||||
|
||||
|
||||
reportError(message, sourceType, targetType);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user