mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 19:13:34 +08:00
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
This commit is contained in:
parent
cf2f30afc0
commit
5b18ce1545
@ -47,6 +47,7 @@
|
||||
"default": false
|
||||
},
|
||||
"implements": {
|
||||
"alias": "guardType",
|
||||
"type": "array",
|
||||
"description": "Specifies which type of guard to create.",
|
||||
"uniqueItems": true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user