From 45537cb2e90bbb3fecf1811f7694c8d29474089c Mon Sep 17 00:00:00 2001 From: Peter Bastiani Date: Tue, 22 Aug 2023 18:55:16 +0200 Subject: [PATCH] =?UTF-8?q?-----------------------------------------------?= =?UTF-8?q?-------------------------------=20Building=20entry=20point=20'@?= =?UTF-8?q?farmmaps/common-map'=20----------------------------------------?= =?UTF-8?q?--------------------------------------=20-=20Compiling=20with?= =?UTF-8?q?=20Angular=20sources=20in=20Ivy=20partial=20compilation=20mode.?= =?UTF-8?q?=20Processing=20legacy=20"View=20Engine"=20libraries:=20-=20ngx?= =?UTF-8?q?-openlayers=20[es2015/esm2015]=20()=20Encourage=20the=20library?= =?UTF-8?q?=20authors=20to=20publish=20an=20Ivy=20distribution.=20Browsers?= =?UTF-8?q?list:=20caniuse-lite=20is=20outdated.=20Please=20run:=20=20=20n?= =?UTF-8?q?px=20update-browserslist-db@latest=20=20=20Why=20you=20should?= =?UTF-8?q?=20do=20it=20regularly:=20https://github.com/browserslist/updat?= =?UTF-8?q?e-db#readme=20=E2=9C=96=20Compiling=20with=20Angular=20sources?= =?UTF-8?q?=20in=20Ivy=20partial=20compilation=20mode.=20projects/common-m?= =?UTF-8?q?ap/src/fm-map/components/map/map.component.ts:371:83=20-=20erro?= =?UTF-8?q?r=20TS2339:=20Property=20'replaceUrl'=20does=20not=20exist=20on?= =?UTF-8?q?=20type=20'{=20mapState:=20IMapState;=20queryState:=20IQuerySta?= =?UTF-8?q?te;=20}'.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 371 this.replaceUrl(newUrlState.mapState,newUrlState.queryState,newUrlState.replaceUrl); --- projects/common-map/src/fm-map/components/map/map.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/common-map/src/fm-map/components/map/map.component.ts b/projects/common-map/src/fm-map/components/map/map.component.ts index 380be41..692ae43 100644 --- a/projects/common-map/src/fm-map/components/map/map.component.ts +++ b/projects/common-map/src/fm-map/components/map/map.component.ts @@ -365,7 +365,7 @@ export class MapComponent implements OnInit, OnDestroy,AfterViewInit { else { return of(null); } - })).subscribe((newUrlState) =>{ + })).subscribe((newUrlState: any) => { if(newUrlState) { //console.debug(`State to url`); this.replaceUrl(newUrlState.mapState,newUrlState.queryState,newUrlState.replaceUrl);