Skip to content

Commit 5b18ce1

Browse files
alan-agius4dgp1130
authored andcommitted
feat(@schematics/angular): add guardType as an alias of implements in guard schematic
`implements` option will be removed in future in favor of `guardType`. This is because the implements guard pattern is deprecated in version 15.1
1 parent cf2f30a commit 5b18ce1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/schematics/angular/guard/schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"default": false
4848
},
4949
"implements": {
50+
"alias": "guardType",
5051
"type": "array",
5152
"description": "Specifies which type of guard to create.",
5253
"uniqueItems": true,

0 commit comments

Comments
 (0)