Skip to content

Commit 456f08a

Browse files
committed
refactor(@schematics/angular): remove unused import from app-shell schematic
The import of the `findAppConfig` function was unused within the schematic. The TypeScript import was also changed to the recommended default import from a namespace import.
1 parent f112a0a commit 456f08a

File tree

1 file changed

+1
-2
lines changed
  • packages/schematics/angular/app-shell

1 file changed

+1
-2
lines changed

packages/schematics/angular/app-shell/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
noop,
1616
schematic,
1717
} from '@angular-devkit/schematics';
18-
import * as ts from '../third_party/github.com/Microsoft/TypeScript/lib/typescript';
18+
import ts from '../third_party/github.com/Microsoft/TypeScript/lib/typescript';
1919
import {
2020
addImportToModule,
2121
addSymbolToNgModuleMetadata,
@@ -28,7 +28,6 @@ import {
2828
} from '../utility/ast-utils';
2929
import { applyToUpdateRecorder } from '../utility/change';
3030
import { getAppModulePath, isStandaloneApp } from '../utility/ng-ast-utils';
31-
import { findAppConfig } from '../utility/standalone/app_config';
3231
import { findBootstrapApplicationCall, getMainFilePath } from '../utility/standalone/util';
3332
import { getWorkspace, updateWorkspace } from '../utility/workspace';
3433
import { Builders } from '../utility/workspace-models';

0 commit comments

Comments
 (0)