refactor: simplify arrow functions (#12057)
This commit is contained in:

committed by
Chuck Jazdzewski

parent
a63359689f
commit
50c37d45dc
@ -577,8 +577,7 @@ export class Router {
|
||||
preActivation.traverse(this.outletMap);
|
||||
});
|
||||
|
||||
const preactivation2$ =
|
||||
mergeMap.call(preactivation$, () => { return preActivation.checkGuards(); });
|
||||
const preactivation2$ = mergeMap.call(preactivation$, () => preActivation.checkGuards());
|
||||
|
||||
const resolveData$ = mergeMap.call(preactivation2$, (shouldActivate: boolean) => {
|
||||
if (shouldActivate) {
|
||||
|
Reference in New Issue
Block a user