mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +03:00
10 lines
378 B
TypeScript
10 lines
378 B
TypeScript
import { NgModuleRef } from '@angular/core';
|
|
import { platformBrowser } from '@angular/platform-browser';
|
|
import { AppModule } from './app.module';
|
|
// @ts-ignore
|
|
import { AppModuleNgFactory } from '../compiled/lib/app.module.ngfactory';
|
|
|
|
export function bootstrapRedoc():Promise<NgModuleRef<AppModule>> {
|
|
return platformBrowser().bootstrapModuleFactory(AppModuleNgFactory);
|
|
}
|