mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-16 05:58:32 -06:00
Lint fix
This commit is contained in:
parent
1b3c7a28c1
commit
035b9ac1c1
@ -15490,7 +15490,7 @@ namespace ts {
|
||||
}
|
||||
|
||||
if (isLiteralType(source) && !isLiteralType(target)) {
|
||||
generalizedSourceType = getTypeNameForErrorDisplay(getBaseTypeOfLiteralType(source))
|
||||
generalizedSourceType = getTypeNameForErrorDisplay(getBaseTypeOfLiteralType(source));
|
||||
}
|
||||
|
||||
reportError(message, generalizedSourceType, targetType);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user