(call: CallExpression, arg: string | JSChildNode)
| 426 | } |
| 427 | |
| 428 | function mergeCall(call: CallExpression, arg: string | JSChildNode) { |
| 429 | const existing = call.arguments[0] as ExpressionNode | ArrayExpression |
| 430 | if (existing.type === NodeTypes.JS_ARRAY_EXPRESSION) { |
| 431 | existing.elements.push(arg) |
| 432 | } else { |
| 433 | call.arguments[0] = createArrayExpression([existing, arg]) |
| 434 | } |
| 435 | } |
| 436 | |
| 437 | function removeStaticBinding( |
| 438 | tag: TemplateLiteral['elements'], |
no test coverage detected