AW6241 Migrate libs to ng-18
This commit is contained in:
@@ -49,7 +49,11 @@ export class Switch2D3DComponent {
|
||||
this.interactions=[];
|
||||
this.map.instance.getInteractions().forEach((i) => {
|
||||
if(i.getActive()) {
|
||||
this.interactions.push(i);
|
||||
// AW-6241 TODO How to fix?
|
||||
// error TS2345: Argument of type 'import("C:/Project/Farmmaps/FarmMapsLib/node_modules/ol/interaction/Interaction").default'
|
||||
// is not assignable to parameter of type 'import("C:/Project/Farmmaps/FarmMapsLib/projects/common-map3d/node_modules/ol/interaction/Interaction").default'.
|
||||
// Line below commented out
|
||||
// this.interactions.push(i);
|
||||
i.setActive(false);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user