angular/clang-format

`as` get clang lost

vicb opened this issue · 2 comments

vicb commented
return messages.map(
              message => [serializeHtmlAst(message.ast), message.meaning, message.description, ]) as [string[], string, string][];

// gets formatted at
          return messages.map(
              message => [serializeHtmlAst(message.ast), message.meaning, message.description, ])
              as[string[], string, string][];

It's invalid TS

Fixed in llvm-mirror/clang@5e89d2b, Angular needs a newer clang-format release.

vicb commented

Woouh, that was quick !