mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 12:34:32 +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
|
"default": false
|
||||||
},
|
},
|
||||||
"implements": {
|
"implements": {
|
||||||
|
"alias": "guardType",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "Specifies which type of guard to create.",
|
"description": "Specifies which type of guard to create.",
|
||||||
"uniqueItems": true,
|
"uniqueItems": true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user