We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.ngtypecheck.ts
1 parent a7cf22c commit 793f6caCopy full SHA for 793f6ca
1 file changed
packages/ngtools/webpack/src/angular_compiler_plugin.ts
@@ -633,8 +633,8 @@ export class AngularCompilerPlugin {
633
// Exclude the following files from unused checks
634
// - ngfactories & ngstyle might not have a correspondent
635
// JS file example `@angular/core/core.ngfactory.ts`.
636
- // - __ng_typecheck__.ts will never be requested.
637
- const fileExcludeRegExp = /(\.(ngfactory|ngstyle|ngsummary)\.ts|ng_typecheck__\.ts)$/;
+ // - ngtypecheck.ts and __ng_typecheck__.ts are used for type-checking in Ivy.
+ const fileExcludeRegExp = /(\.(ngfactory|ngstyle|ngsummary|ngtypecheck)\.ts|ng_typecheck__\.ts)$/;
638
639
// Start all the source file names we care about.
640
// Ignore matches to the regexp above, files we've already reported once before, and
0 commit comments