Skip to content

Commit 9a8b1cc

Browse files
alkavats1alan-agius4
authored andcommitted
refactor: replaced the String wrapper object with primitive type string
(cherry picked from commit ab9adea)
1 parent 2025dfa commit 9a8b1cc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/angular_devkit/build_angular/src/babel/webpack-loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { ApplicationPresetOptions, I18nPluginCreators } from './presets/applicat
1414
interface AngularCustomOptions extends Omit<ApplicationPresetOptions, 'instrumentCode'> {
1515
instrumentCode?: {
1616
/** node_modules and test files are always excluded. */
17-
excludedPaths: Set<String>;
17+
excludedPaths: Set<string>;
1818
includedBasePath: string;
1919
};
2020
}

packages/angular_devkit/build_angular/src/utils/normalize-asset-patterns.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import * as path from 'path';
1212
import { AssetPattern, AssetPatternClass } from '../builders/browser/schema';
1313

1414
export class MissingAssetSourceRootException extends BaseException {
15-
constructor(path: String) {
15+
constructor(path: string) {
1616
super(`The ${path} asset path must start with the project source root.`);
1717
}
1818
}

packages/angular_devkit/build_angular/src/utils/normalize-file-replacements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import * as path from 'path';
1212
import { FileReplacement } from '../builders/browser/schema';
1313

1414
export class MissingFileReplacementException extends BaseException {
15-
constructor(path: String) {
15+
constructor(path: string) {
1616
super(`The ${path} path in file replacements does not exist.`);
1717
}
1818
}

0 commit comments

Comments
 (0)