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

Lines changed: 1 addition & 0 deletions
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)
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