2017-07-22 18:04:54 +03:00
|
|
|
import { NgModuleRef } from '@angular/core';
|
2016-08-28 21:46:10 +03:00
|
|
|
import { platformBrowser } from '@angular/platform-browser';
|
2017-07-22 18:04:54 +03:00
|
|
|
import { AppModule } from './app.module';
|
2018-01-21 22:52:26 +03:00
|
|
|
// @ts-ignore
|
2017-01-06 22:38:04 +03:00
|
|
|
import { AppModuleNgFactory } from '../compiled/lib/app.module.ngfactory';
|
2016-08-28 21:46:10 +03:00
|
|
|
|
2017-07-22 18:04:54 +03:00
|
|
|
export function bootstrapRedoc():Promise<NgModuleRef<AppModule>> {
|
2016-10-18 23:39:43 +03:00
|
|
|
return platformBrowser().bootstrapModuleFactory(AppModuleNgFactory);
|
2016-08-28 21:46:10 +03:00
|
|
|
}
|