( options?: ApplicationConfig, context?: BootstrapContext, )
| 153 | * @publicApi |
| 154 | */ |
| 155 | export async function createApplication( |
| 156 | options?: ApplicationConfig, |
| 157 | context?: BootstrapContext, |
| 158 | ): Promise<ApplicationRef> { |
| 159 | if ((typeof ngJitMode === 'undefined' || ngJitMode) && typeof fetch === 'function') { |
| 160 | await resolveJitResources(); |
| 161 | } |
| 162 | |
| 163 | return internalCreateApplication(createProvidersConfig(options, context)); |
| 164 | } |
| 165 | |
| 166 | function createProvidersConfig(options?: ApplicationConfig, context?: BootstrapContext) { |
| 167 | return { |
no test coverage detected
searching dependent graphs…