angular/packages/compiler-cli/integrationtest/src/bootstrap.ts
Andrew Kushnir 64acbc4242 refactor(core): drop all .ngfactory and .ngsummary imports (#44957)
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
2022-02-07 15:31:49 -08:00

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);