From 5b18ce1545d047d49851a64e81a1f8ef59624ef7 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Fri, 11 Nov 2022 10:03:04 +0000 Subject: [PATCH] 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 --- packages/schematics/angular/guard/schema.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/schematics/angular/guard/schema.json b/packages/schematics/angular/guard/schema.json index d2df59cb0446..f6a4676a400a 100644 --- a/packages/schematics/angular/guard/schema.json +++ b/packages/schematics/angular/guard/schema.json @@ -47,6 +47,7 @@ "default": false }, "implements": { + "alias": "guardType", "type": "array", "description": "Specifies which type of guard to create.", "uniqueItems": true,