Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5b18ce1

Browse filesBrowse 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
Copy full SHA for 5b18ce1

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎packages/schematics/angular/guard/schema.json

Copy file name to clipboardExpand all lines: 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.