angular-cn/packages/compiler-cli/integrationtest/src/bootstrap.ts

13 lines
367 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright Google Inc. 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 {BasicComp} from './basic';
import {MainModuleNgFactory} from './module.ngfactory';
MainModuleNgFactory.create(null).instance.appRef.bootstrap(BasicComp);