Skip to content

Commit

Permalink
feat(@schematics/angular): add guardType as an alias of `implements…
Browse files Browse the repository at this point in the history
…` 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
  • Loading branch information
alan-agius4 authored and dgp1130 committed Dec 5, 2022
1 parent cf2f30a commit 5b18ce1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/schematics/angular/guard/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"default": false
},
"implements": {
"alias": "guardType",
"type": "array",
"description": "Specifies which type of guard to create.",
"uniqueItems": true,
Expand Down

0 comments on commit 5b18ce1

Please sign in to comment.