Skip to content

Commit 1e40884

Browse files
fix: update bootstrap function to accept BootstrapContext parameter
1 parent 2c58d4b commit 1e40884

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/demo/src/main.server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { bootstrapApplication } from '@angular/platform-browser';
1+
import { bootstrapApplication, BootstrapContext } from '@angular/platform-browser';
22
import { AppComponent } from './app/app.component';
33
import { config } from './app/app.config.server';
44

5-
const bootstrap = () => bootstrapApplication(AppComponent, config);
5+
const bootstrap = (context: BootstrapContext) => bootstrapApplication(AppComponent, config, context);
66

77
export default bootstrap;

0 commit comments

Comments
 (0)