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/*" - + ] } },