build: upgrade to angular v12

This commit is contained in:
Jovan Krunić
2021-09-21 06:51:33 +00:00
parent e5c227073a
commit 3c7ada4eea
33 changed files with 8960 additions and 8806 deletions

View File

@@ -16,7 +16,6 @@ import {Component, ElementRef, Input, OnInit, ViewChild} from '@angular/core';
import {SCPlace} from '@openstapps/core';
import {geoJSON, Map, MapOptions, tileLayer} from 'leaflet';
import {MapProvider} from '../map.provider';
import Timeout = NodeJS.Timeout;
/**
* The map widget (needs a container with explicit size)
@@ -77,7 +76,7 @@ export class MapWidgetComponent implements OnInit {
*/
onMapReady(map: Map) {
this.map = map;
const interval: Timeout = setInterval(() => {
const interval = window.setInterval(() => {
MapProvider.invalidateWhenRendered(map, this.mapContainer, interval);
});
}