mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-17 01:49:41 -05:00
Remove dead code
This commit is contained in:
@@ -18471,9 +18471,6 @@ namespace ts {
|
||||
if (i < variances.length && (variances[i] & VarianceFlags.VarianceMask) === VarianceFlags.Contravariant) {
|
||||
inferFromContravariantTypes(sourceTypes[i], targetTypes[i]);
|
||||
}
|
||||
else if (variances[i] & VarianceFlags.Awaited) {
|
||||
inferFromTypes(unwrapAwaitedType(sourceTypes[i]), targetTypes[i]);
|
||||
}
|
||||
else {
|
||||
inferFromTypes(sourceTypes[i], targetTypes[i]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user