File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -1561,7 +1561,6 @@ module ts {
1561
1561
let i = 0;
1562
1562
if (outerTypeParameters) {
1563
1563
let length = outerTypeParameters.length;
1564
- let group = 0;
1565
1564
while (i < length) {
1566
1565
// Find group of type arguments for type parameters with the same declaring container.
1567
1566
let start = i;
@@ -1572,16 +1571,10 @@ module ts {
1572
1571
// When type parameters are their own type arguments for the whole group (i.e. we have
1573
1572
// the default outer type arguments), we don't show the group.
1574
1573
if (!rangeEquals(outerTypeParameters, typeArguments, start, i)) {
1575
- if (group) {
1576
- writePunctuation(writer, SyntaxKind.DotToken);
1577
- }
1578
1574
writeSymbolTypeReference(parent, typeArguments, start, i);
1579
- group++ ;
1575
+ writePunctuation(writer, SyntaxKind.DotToken) ;
1580
1576
}
1581
1577
}
1582
- if (group) {
1583
- writePunctuation(writer, SyntaxKind.DotToken);
1584
- }
1585
1578
}
1586
1579
writeSymbolTypeReference(type.symbol, typeArguments, i, typeArguments.length);
1587
1580
}
You can’t perform that action at this time.
0 commit comments