Skip to content

Commit

Permalink
refactor: replaced the String wrapper object with primitive type string
Browse files Browse the repository at this point in the history
(cherry picked from commit ab9adea)
  • Loading branch information
alkavats1 authored and alan-agius4 committed Jun 9, 2023
1 parent 78084aa commit 0e25fec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { ApplicationPresetOptions, I18nPluginCreators } from './presets/applicat
interface AngularCustomOptions extends Omit<ApplicationPresetOptions, 'instrumentCode'> {
instrumentCode?: {
/** node_modules and test files are always excluded. */
excludedPaths: Set<String>;
excludedPaths: Set<string>;
includedBasePath: string;
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.`);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.`);
}
}
Expand Down

0 comments on commit 0e25fec

Please sign in to comment.