(statements: ts.Statement[], transformContext: ts.TransformationContext)
| 258 | } |
| 259 | |
| 260 | private toBlock(statements: ts.Statement[], transformContext: ts.TransformationContext): ts.Block { |
| 261 | if (statements.length === 1 && ts.isBlock(statements[0])) { |
| 262 | return statements[0] as ts.Block; |
| 263 | } |
| 264 | |
| 265 | return transformContext.factory.createBlock(statements, true); |
| 266 | } |
| 267 | |
| 268 | private mergeStatements(statements: ts.Statement[], transformContext: ts.TransformationContext): ts.Statement { |
| 269 | if (!statements.length) { |
no outgoing calls
no test coverage detected