chore(lint): require semicolons

Relying on ASI (automatic semicolon insertion)
is allowed in TypeScript because JavaScript allows
it. However, when we run clang-format it doesn’t
understand that these statements are terminated
with a newline and changes the indentation, in bad
cases even breaking the code.

Fixes #817
This commit is contained in:
Alex Eagle
2015-07-15 12:12:23 -07:00
parent 33500e986b
commit 93055f78ea
21 changed files with 32 additions and 32 deletions

View File

@ -164,7 +164,7 @@ export class NgSwitchWhen {
this._view = new SwitchView(viewContainer, protoViewRef);
}
onDestroy() { this._switch }
onDestroy() { this._switch; }
set ngSwitchWhen(value) {
this._switch._onWhenValueChanged(this._value, value, this._view);