From 59d1cc1a68f91c04b0307d94315b6361d366634e Mon Sep 17 00:00:00 2001 From: dweinholz Date: Wed, 14 Aug 2024 14:48:59 +0200 Subject: [PATCH] updated cli --- src/app/applications/application.model/application.model.ts | 2 +- src/app/layouts/full-layout.component.ts | 2 +- src/app/projectmanagement/overview.component.ts | 3 +-- src/tsconfig.spec.json | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/applications/application.model/application.model.ts b/src/app/applications/application.model/application.model.ts index b1b3be3e02..6451c09517 100644 --- a/src/app/applications/application.model/application.model.ts +++ b/src/app/applications/application.model/application.model.ts @@ -1,4 +1,4 @@ -import * as moment from 'moment'; + import moment from 'moment'; import { ApplicationLifetimeExtension } from '../application_extension.model'; import { ComputecenterComponent } from '../../projectmanagement/computecenter.component'; import { ApplicationDissemination } from '../application-dissemination'; diff --git a/src/app/layouts/full-layout.component.ts b/src/app/layouts/full-layout.component.ts index 3363cea752..f88c45fc64 100644 --- a/src/app/layouts/full-layout.component.ts +++ b/src/app/layouts/full-layout.component.ts @@ -1,5 +1,5 @@ import { ChangeDetectorRef, Component, OnInit } from '@angular/core'; -import * as moment from 'moment'; +import moment from 'moment'; import { Router } from '@angular/router'; import { ApiSettings } from '../api-connector/api-settings.service'; import { ClientService } from '../api-connector/client.service'; diff --git a/src/app/projectmanagement/overview.component.ts b/src/app/projectmanagement/overview.component.ts index 54789655e6..9940b0ce07 100644 --- a/src/app/projectmanagement/overview.component.ts +++ b/src/app/projectmanagement/overview.component.ts @@ -9,8 +9,7 @@ import { ViewChild, inject, } from '@angular/core'; -import * as moment from 'moment'; -import { forkJoin, Observable, Subscription } from 'rxjs'; +import moment from 'moment'; import { forkJoin, Observable, Subscription } from 'rxjs'; import { ActivatedRoute, Router } from '@angular/router'; import { DOCUMENT } from '@angular/common'; import { Chart } from 'chart.js'; diff --git a/src/tsconfig.spec.json b/src/tsconfig.spec.json index 9c56a51c42..14e424a956 100644 --- a/src/tsconfig.spec.json +++ b/src/tsconfig.spec.json @@ -1,6 +1,7 @@ { "extends": "../tsconfig.json", "compilerOptions": { + "allowSyntheticDefaultImports": true, "outDir": "../out-tsc/spec", "baseUrl": "", "types": [