refactor(upgrade): simplify special handling of ngUpgradeLite in downgradeComponent()
(#27217)
PR Close #27217
This commit is contained in:

committed by
Matias Niemelä

parent
07ada7f3d9
commit
8a7498e0ef
@ -510,10 +510,7 @@ export class UpgradeAdapter {
|
||||
.factory(INJECTOR_KEY, () => this.moduleRef !.injector.get(Injector))
|
||||
.factory(
|
||||
LAZY_MODULE_REF,
|
||||
[
|
||||
INJECTOR_KEY,
|
||||
(injector: Injector) => ({ injector, needsNgZone: false } as LazyModuleRef)
|
||||
])
|
||||
[INJECTOR_KEY, (injector: Injector) => ({ injector } as LazyModuleRef)])
|
||||
.constant(NG_ZONE_KEY, this.ngZone)
|
||||
.factory(COMPILER_KEY, () => this.moduleRef !.injector.get(Compiler))
|
||||
.config([
|
||||
|
Reference in New Issue
Block a user