diff --git a/aio/tools/examples/shared/boilerplate/cli/src/test.ts b/aio/tools/examples/shared/boilerplate/cli/src/test.ts index 16317897b1..50193eb0f2 100644 --- a/aio/tools/examples/shared/boilerplate/cli/src/test.ts +++ b/aio/tools/examples/shared/boilerplate/cli/src/test.ts @@ -7,7 +7,12 @@ import { platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing'; -declare const require: any; +declare const require: { + context(path: string, deep?: boolean, filter?: RegExp): { + keys(): string[]; + (id: string): T; + }; +}; // First, initialize the Angular testing environment. getTestBed().initTestEnvironment(