redoc/lib/bootstrap.dev.ts

8 lines
296 B
TypeScript
Raw Normal View History

2017-07-22 18:04:54 +03:00
import { NgModuleRef } from '@angular/core';
2016-08-28 21:46:10 +03:00
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
2016-10-18 23:39:43 +03:00
import { AppModule } from './app.module';
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 platformBrowserDynamic().bootstrapModule(AppModule);
2016-08-28 21:46:10 +03:00
}