Skip to content

Commit 0f2160c

Browse files
alan-agius4mattrbeck
authored andcommitted
fix(migrations): remove compiler import from safe optional chaining migration
Removes the @angular/compiler import from the safe optional chaining migration. This import is not needed as the compiler package import is side-effectful and has no functional use here. (cherry picked from commit f1738b5)
1 parent 5743101 commit 0f2160c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • packages/core/schematics/migrations/safe-optional-chaining

packages/core/schematics/migrations/safe-optional-chaining/migration.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ import {
5757
} from '../../utils/tsurge';
5858
import {getPropertyNameText} from '../../utils/typescript/property_name';
5959

60-
import('@angular/compiler');
61-
6260
export interface CompilationUnitData {
6361
replacements: Replacement[];
6462
}

0 commit comments

Comments
 (0)