tslint arrow-parens rule (#4003)

This commit is contained in:
Eugenio Romano
2018-11-23 01:06:56 +00:00
committed by GitHub
parent 51bb6a420f
commit 34a30c0f14
194 changed files with 725 additions and 723 deletions

View File

@@ -63,7 +63,7 @@ export class CardViewItemDispatcherComponent implements OnChanges {
'ngOnDestroy'
];
dynamicLifeCycleMethods.forEach(method => {
dynamicLifeCycleMethods.forEach((method) => {
this[method] = this.proxy.bind(this, method);
});
}
@@ -75,7 +75,7 @@ export class CardViewItemDispatcherComponent implements OnChanges {
}
Object.keys(changes)
.map(changeName => [changeName, changes[changeName]])
.map((changeName) => [changeName, changes[changeName]])
.forEach(([inputParamName, simpleChange]: [string, SimpleChange]) => {
this.componentReference.instance[inputParamName] = simpleChange.currentValue;
});

View File

@@ -65,7 +65,7 @@ export class CardViewKeyValuePairsItemComponent implements OnChanges {
}
save(remove?: boolean): void {
const validValues = this.values.filter(i => i.name.length && i.value.length);
const validValues = this.values.filter((i) => i.name.length && i.value.length);
if (remove || validValues.length) {
this.cardViewUpdateService.update(this.property, validValues);