mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 10:29:18 -05:00
Lint fix
This commit is contained in:
@@ -15490,7 +15490,7 @@ namespace ts {
|
||||
}
|
||||
|
||||
if (isLiteralType(source) && !isLiteralType(target)) {
|
||||
generalizedSourceType = getTypeNameForErrorDisplay(getBaseTypeOfLiteralType(source))
|
||||
generalizedSourceType = getTypeNameForErrorDisplay(getBaseTypeOfLiteralType(source));
|
||||
}
|
||||
|
||||
reportError(message, generalizedSourceType, targetType);
|
||||
|
||||
Reference in New Issue
Block a user