diff --git a/packages/angular_devkit/build_angular/src/babel/webpack-loader.ts b/packages/angular_devkit/build_angular/src/babel/webpack-loader.ts index 43ea083c2d66..743f94b748d2 100644 --- a/packages/angular_devkit/build_angular/src/babel/webpack-loader.ts +++ b/packages/angular_devkit/build_angular/src/babel/webpack-loader.ts @@ -14,7 +14,7 @@ import { ApplicationPresetOptions, I18nPluginCreators } from './presets/applicat interface AngularCustomOptions extends Omit { instrumentCode?: { /** node_modules and test files are always excluded. */ - excludedPaths: Set; + excludedPaths: Set; includedBasePath: string; }; } diff --git a/packages/angular_devkit/build_angular/src/utils/normalize-asset-patterns.ts b/packages/angular_devkit/build_angular/src/utils/normalize-asset-patterns.ts index 4bc6ee52cbd6..b020b791a715 100644 --- a/packages/angular_devkit/build_angular/src/utils/normalize-asset-patterns.ts +++ b/packages/angular_devkit/build_angular/src/utils/normalize-asset-patterns.ts @@ -12,7 +12,7 @@ import * as path from 'path'; import { AssetPattern, AssetPatternClass } from '../builders/browser/schema'; export class MissingAssetSourceRootException extends BaseException { - constructor(path: String) { + constructor(path: string) { super(`The ${path} asset path must start with the project source root.`); } } diff --git a/packages/angular_devkit/build_angular/src/utils/normalize-file-replacements.ts b/packages/angular_devkit/build_angular/src/utils/normalize-file-replacements.ts index 741079ffded9..377dafdabad4 100644 --- a/packages/angular_devkit/build_angular/src/utils/normalize-file-replacements.ts +++ b/packages/angular_devkit/build_angular/src/utils/normalize-file-replacements.ts @@ -12,7 +12,7 @@ import * as path from 'path'; import { FileReplacement } from '../builders/browser/schema'; export class MissingFileReplacementException extends BaseException { - constructor(path: String) { + constructor(path: string) { super(`The ${path} path in file replacements does not exist.`); } }