mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 09:33:44 +03:00
9 lines
364 B
TypeScript
9 lines
364 B
TypeScript
import { NgModuleRef } from '@angular/core';
|
|
import { platformBrowser } from '@angular/platform-browser';
|
|
import { AppModule } from './app.module';
|
|
import { AppModuleNgFactory } from '../compiled/lib/app.module.ngfactory';
|
|
|
|
export function bootstrapRedoc():Promise<NgModuleRef<AppModule>> {
|
|
return platformBrowser().bootstrapModuleFactory(AppModuleNgFactory);
|
|
}
|