This allows for AlignAfterOpenBracket: BlockIndent to work correctly
when using values with type parameters.
Line breaks after any template closer was disallowed 10 years ago, in
90e51fdbab33d43e0d4f932c2d90d0b86e865664, as a fix to https://github.com/llvm/llvm-project/issues/15158.
Allowing it again, but only if preceding a specific character, seems to
work out fine.
Note that this change originally caused a test failure in FormatTestJS.NoBreakAfterAsserts,
which is why there is an explicit negative check against TT_JsTypeColon.
Given this, I'm not 100% confident in this change not producing defects,
especially in other languages, but that was the only one in the test
suite.
Perhaps additional restrictions should be used, such as requiring
BAS_BlockIndent to be set.
Could you merge this?