We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bfa688a + e2db814 commit 9c767b0Copy full SHA for 9c767b0
src/main.server.ts
@@ -1,7 +1,8 @@
1
-import { bootstrapApplication } from '@angular/platform-browser';
+import { bootstrapApplication, BootstrapContext } from '@angular/platform-browser';
2
import { AppComponent } from './app/app.component';
3
import { config } from './app/app.config.server';
4
5
-const bootstrap = () => bootstrapApplication(AppComponent, config);
+const bootstrap = (context: BootstrapContext) =>
6
+ bootstrapApplication(AppComponent, config, context);
7
8
export default bootstrap;
0 commit comments