mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit updates various places in the repo (mostly tests/examples) to drop all `.ngfactory` and `.ngsummary` imports as they are no longer needed in Ivy. PR Close #44957
15 lines
427 B
TypeScript
15 lines
427 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
import {createNgModuleRef} from '@angular/core';
|
|
|
|
import {BasicComp} from './basic';
|
|
import {MainModule} from './module';
|
|
|
|
const ngModuleRef = createNgModuleRef(MainModule);
|
|
ngModuleRef.instance.appRef.bootstrap(BasicComp);
|