From 76bdad6eafd82c11d42945e5d96b74aceff9eda7 Mon Sep 17 00:00:00 2001 From: Mark van der Wal Date: Thu, 3 Sep 2020 10:25:39 +0200 Subject: [PATCH] fixed build --- projects/common/src/fm/services/weather.service.ts | 2 +- projects/common/tsconfig.lib.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/projects/common/src/fm/services/weather.service.ts b/projects/common/src/fm/services/weather.service.ts index 0ab1df9..9289938 100644 --- a/projects/common/src/fm/services/weather.service.ts +++ b/projects/common/src/fm/services/weather.service.ts @@ -4,7 +4,7 @@ import {Observable} from 'rxjs'; import {GeoJSON} from 'ol/format'; import {map, switchMap, tap} from 'rxjs/operators'; import {getCenter} from 'ol/extent'; -import * as moment from 'moment'; +import moment from 'moment'; import {AppConfig} from '../shared/app.config'; import {WeatherCurrentObservation} from '../models/weatherCurrentObservation'; import {IItem} from '../models/item'; diff --git a/projects/common/tsconfig.lib.json b/projects/common/tsconfig.lib.json index 592eaa2..7a13f38 100644 --- a/projects/common/tsconfig.lib.json +++ b/projects/common/tsconfig.lib.json @@ -11,6 +11,7 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "importHelpers": true, + "esModuleInterop": true, "types": [], "lib": [ "dom", @@ -18,9 +19,9 @@ ], "paths": { "@angular/*": [ - + "node_modules/@angular/*" - + ] } },