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

@@ -85,17 +85,17 @@ export class ExtensionService {
}
getRouteById(id: string): RouteRef {
return this.routes.find(route => route.id === id);
return this.routes.find((route) => route.id === id);
}
getAuthGuards(ids: string[]): Array<Type<{}>> {
return (ids || [])
.map(id => this.authGuards[id])
.filter(guard => guard);
.map((id) => this.authGuards[id])
.filter((guard) => guard);
}
getActionById(id: string): ActionRef {
return this.actions.find(action => action.id === id);
return this.actions.find((action) => action.id === id);
}
getEvaluator(key: string): RuleEvaluator {
@@ -130,7 +130,7 @@ export class ExtensionService {
}
getRuleById(id: string): RuleRef {
return this.rules.find(ref => ref.id === id);
return this.rules.find((ref) => ref.id === id);
}
runExpression(value: string, context?: any) {