Skip to content

Commit cf572cb

Browse files
committed
fix
1 parent a06f070 commit cf572cb

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Build the lib (with the current version, as it is what is published on npm)
5656
run: npm run build
5757
- name: Downgrade dependencies to minimal required version
58-
run: npm install [email protected] [email protected] [email protected] [email protected] @angular/common@next @angular/compiler@next @angular/core@next @angular/platform-browser@next @angular/router@next @angular/cli@next @angular/compiler-cli@next @angular-devkit/build-angular@next --legacy-peer-deps
58+
run: npm install [email protected] [email protected] [email protected] [email protected] @angular/common@19.0.0 @angular/compiler@19.0.0 @angular/core@19.0.0 @angular/platform-browser@19.0.0 @angular/router@19.0.0 @angular/cli@19.0.0 @angular/compiler-cli@19.0.0 @angular-devkit/build-angular@19.0.0 --legacy-peer-deps
5959
env:
6060
CI: true
6161
- name: Run unit tests

testing-apps/demo/src/main.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { bootstrapApplication } from "@angular/platform-browser";
22
import { AppComponent } from "./app/app.component";
33

44
bootstrapApplication(AppComponent)
5-
.catch((err) => {
5+
.then(() => {
6+
// Nothing to do
7+
}, (err) => {
68
console.error(err);
79
});

testing-apps/localforage/src/main.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { HomeComponent } from "./app/home/home.component";
77
bootstrapApplication(AppComponent, {
88
providers: [
99
provideRouter([
10+
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
1011
{ path: "lazy", loadChildren: () => import("./app/lazy/routes").then(m => m.routes) },
1112
{ path: "", component: HomeComponent, pathMatch: "full" },
1213
]),
@@ -15,6 +16,8 @@ bootstrapApplication(AppComponent, {
1516
provideIndexedDBStoreName("keyvaluepairs"),
1617
],
1718
})
18-
.catch((err) => {
19+
.then(() => {
20+
// Nothing to do
21+
}, (err) => {
1922
console.error(err);
2023
});

0 commit comments

Comments
 (0)