Skip to content

Commit 3e12183

Browse files
committed
chore: update fixtures due to breaking change
See https://github.com/angular/angular-cli/releases/tag/20.3.0.
1 parent 489501b commit 3e12183

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

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, type 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;
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, type 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;
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, type 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;
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, type 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;
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, type BootstrapContext } from '@angular/platform-browser';
22
import { App } from './app/app';
33
import { config } from './app/app.config.server';
44

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

77
export default bootstrap;
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, type BootstrapContext } from '@angular/platform-browser';
22
import { App } from './app/app';
33
import { config } from './app/app.config.server';
44

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

77
export default bootstrap;
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, type 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;
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, type 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;
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, type 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)