Skip to content

Commit 2f92fe7

Browse files
cexbrayatangular-robot[bot]
authored andcommitted
fix(@schematics/angular): add missing semicolon in functional guard/resolver/interceptor
1 parent 66a9710 commit 2f92fe7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/schematics/angular/guard/type-files/__name@dasherize__.guard.ts.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ export const <%= camelize(name) %>Guard: <%= guardType %><% if (guardType === 'C
66
%><% if (guardType === 'CanActivateChildFn') { %>(childRoute, state)<% }
77
%><% if (guardType === 'CanDeactivateFn') { %>(component, currentRoute, currentState, nextState)<% } %> => {
88
return true;
9-
}
9+
};

packages/schematics/angular/interceptor/functional-files/__name@dasherize@if-flat__/__name@dasherize__.interceptor.ts.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import { HttpInterceptorFn } from '@angular/common/http';
22

33
export const <%= camelize(name) %>Interceptor: HttpInterceptorFn = (req, next) => {
44
return next(req);
5-
}
5+
};

packages/schematics/angular/resolver/functional-files/__name@dasherize__.resolver.ts.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import { ResolveFn } from '@angular/router';
22

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy