- libary updates for prettier, eslint and typescript

- uninstall @types/xml2js (save-dev) and core-js (save)
- remove HelloWorld component from app.ts and app2.ts
This commit is contained in:
Arno Kaimbacher 2023-01-16 15:19:14 +01:00
commit 426228705c
25 changed files with 961 additions and 4286 deletions

View file

@ -71,13 +71,13 @@ export default class DatasetDetailComponent extends Vue {
}
private getDataset(id: number): void {
const newSub = DatasetService.getDataset(id).subscribe(
(res: DbDataset) => {
const newSub = DatasetService.getDataset(id).subscribe({
next: (res: DbDataset) => {
this.dataset = res;
this.loaded = true;
},
(error: string) => this.errorHandler(error),
);
error: (error: string) => this.errorHandler(error),
});
this.subscriptions.push(newSub);
}