mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 11:35:42 -06:00
Combining else blocks
This commit is contained in:
parent
78a36c0cee
commit
ccd3de33f3
@ -1372,15 +1372,10 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
||||
let length = elements.length;
|
||||
while (pos < length) {
|
||||
// Emit using the pattern <group0>.concat(<group1>, <group2>, ...)
|
||||
if (group === 1) {
|
||||
if(useConcat) {
|
||||
write(".concat(");
|
||||
}
|
||||
else {
|
||||
write(", ");
|
||||
}
|
||||
if (group === 1 && useConcat) {
|
||||
write(".concat(");
|
||||
}
|
||||
else if (group > 1) {
|
||||
else if (group > 0) {
|
||||
write(", ");
|
||||
}
|
||||
let e = elements[pos];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user