From 372e2e633f4bd9bf29c35d02890e1c6a70da3169 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Thu, 18 Nov 2021 19:49:06 +0100 Subject: [PATCH] fix(@schematics/angular): address eslint linting failures in `test.ts` Closes #22171 (cherry picked from commit 37a723945879a2c8884ec73276681ee49a6e36a8) --- .../schematics/angular/application/files/src/test.ts.template | 2 +- packages/schematics/angular/library/files/src/test.ts.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/schematics/angular/application/files/src/test.ts.template b/packages/schematics/angular/application/files/src/test.ts.template index 598d11e862e6..00025daf1720 100644 --- a/packages/schematics/angular/application/files/src/test.ts.template +++ b/packages/schematics/angular/application/files/src/test.ts.template @@ -9,8 +9,8 @@ import { declare const require: { context(path: string, deep?: boolean, filter?: RegExp): { - keys(): string[]; (id: string): T; + keys(): string[]; }; }; diff --git a/packages/schematics/angular/library/files/src/test.ts.template b/packages/schematics/angular/library/files/src/test.ts.template index 9782baeeef23..bcca659d3122 100644 --- a/packages/schematics/angular/library/files/src/test.ts.template +++ b/packages/schematics/angular/library/files/src/test.ts.template @@ -10,8 +10,8 @@ import { declare const require: { context(path: string, deep?: boolean, filter?: RegExp): { - keys(): string[]; (id: string): T; + keys(): string[]; }; };