refactor: update to Angular 13

This commit is contained in:
Rainer Killinger
2022-03-23 12:57:16 +01:00
parent 7b491ed3bb
commit dac2f5656a
20 changed files with 2723 additions and 6726 deletions

View File

@@ -205,7 +205,7 @@ export class SearchPageComponent implements OnInit, OnDestroy {
const alert: HTMLIonAlertElement = await this.alertController.create({
buttons: ['Dismiss'],
header: 'Error',
subHeader: error.message,
subHeader: (error as Error).message,
});
await alert.present();

View File

@@ -76,7 +76,7 @@ export class StAppsWebHttpClient implements HttpClientInterface {
body: response.body || {},
});
} catch (error) {
throw new Error(error);
throw new Error(error as string);
}
}
}