Skip to content

Commit 9ea3bd9

Browse files
authored
Fix linter no-duplicate-imports errors (#102)
1 parent c282552 commit 9ea3bd9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/types/leaflet_plus.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import 'leaflet';
21
import { DivOverlay, DivOverlayOptions } from 'leaflet';
32

43
declare module 'leaflet' {

src/worldmap.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import './libs/leaflet_plus';
44
import * as L from 'leaflet';
55
import WorldmapCtrl from './worldmap_ctrl';
66
import { ColorModes } from './model';
7-
import { LatLngExpression } from 'leaflet';
87

98
const tileServers = {
109
'CARTO Positron': {
@@ -500,7 +499,7 @@ export default class WorldMap {
500499
// controls the map centering and zoom level.
501500
const mapDimensions = this.ctrl.settings.center;
502501

503-
let coordinates: LatLngExpression = [mapDimensions.mapCenterLatitude, mapDimensions.mapCenterLongitude];
502+
let coordinates: L.LatLngExpression = [mapDimensions.mapCenterLatitude, mapDimensions.mapCenterLongitude];
504503
let zoomLevel = mapDimensions.mapZoomLevel;
505504

506505
if (mapDimensions.mapFitData) {

0 commit comments

Comments
 (0)