mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
64acbc4242
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
16 lines
427 B
TypeScript
16 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);
|