Skip to content

Commit

Permalink
fix(@schematics/angular): add missing semicolon in functional guard/r…
Browse files Browse the repository at this point in the history
…esolver/interceptor
  • Loading branch information
cexbrayat authored and angular-robot[bot] committed Dec 2, 2022
1 parent 66a9710 commit 2f92fe7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export const <%= camelize(name) %>Guard: <%= guardType %><% if (guardType === 'C
%><% if (guardType === 'CanActivateChildFn') { %>(childRoute, state)<% }
%><% if (guardType === 'CanDeactivateFn') { %>(component, currentRoute, currentState, nextState)<% } %> => {
return true;
}
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ import { HttpInterceptorFn } from '@angular/common/http';

export const <%= camelize(name) %>Interceptor: HttpInterceptorFn = (req, next) => {
return next(req);
}
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ import { ResolveFn } from '@angular/router';

export const <%= camelize(name) %>Resolver: ResolveFn<boolean> = (route, state) => {
return true;
}
};

0 comments on commit 2f92fe7

Please sign in to comment.