<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/108530>108530</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Different line breaking between type and name for paramters
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format,
regression,
typescript
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
kadircet
</td>
</tr>
</table>
<pre>
a.ts, old formatting:
```
class Foo {
private addGrammarCheckOneboxProductInfo(productInfo:
{[key: string]: string;}) {}
}
```
`clang-format -style=Google a.ts`
```
class Foo {
private addGrammarCheckOneboxProductInfo(
productInfo: {[key: string]: string;}) {}
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysksGOozAMhp8mXKJW4IS2OeQwHcRoT7uv4ICh2YYEJWF2-_YrmE63cx-ElNiy_fuLfkzJjp5Is_rM6qbAJV9C1FfsbewoFyb0N437nBi88uB6PoQ4Yc7Wj0y8sLJh5Qs7lPd_CzuHKfE2BM6O548U53O075iJY9-_RZwmjK8X6q4_PZnw91cM_dLlH34IDE7zU_QpsY2qz1e6MfHCU46rft08BeLMjg0DtVUem_tmj8vXFR_JzqEfdx9MfJfyzRETzVsIoyO-YT9avhfys2X9vgJ_G2rRa9ErobAgXR3hACBrkMVFQylN1yk8mMoMpETdi0GIWh0OEqsTYGE1lCBLVYmqlCcp90opMYAcjsqQkaeByZImtG7v3Pu0D3EsbEoL6ao81aIsHBpyabMUwPMTMwAGrwwg0hgpJRv8I5VvM6Uu2nmrqpsi6nX6zixjYrJ0NuX0Xy_b7Eg3dhgoks_cWU_cRMKr9SM3lP8Qeb7O5Oh77nGi1bp8xohTppiKJTp9yXlOq8mgZdCONl8Ws-_CxKBdle7Hbo7hN3WZQbthJgbtnfRdw78AAAD__7SI-8o">