Collapse multi-line arguments that contain parentheses

Merged
LA
14d ago
+30-1

TypeScript::cleanUp() found argument lists with [^)]+, so it stopped at the first ). When a type in the list had its own parentheses, like import('@/types').Key<...> from a custom function-arguments template, only the part before that paren got collapsed and the rest kept its line breaks. The pattern now matches balanced parentheses, so the whole list ends up on one line. The default templates never put parentheses in argument types, so generated workbench output is unchanged and the test calls cleanUp() directly.

Closes #328