Skip to content

Commit 3baddd0

Browse files
authored
Transition to TypeScript (#1160)
* Start adding types * Update ZoomControl * Update LayersControl * Update AttributionControl * Add types for Backbone * Update Layer * Update DOMWidgetView * Implement suggested changes * Remove some any's and update imports * Remove a Partial * Change an any * Update Marker * Update for strict tsconfig * Update Utils for strict tsconfig * Update tsconfig * Update Marker for stict tsconfig * Update Icon * Update DivIcon * Update Popup * Small fix for LayersControl * Make tsconfig stricter * Update lockfile * Temp bug fix * Fix error in utils * Update tsconfig again * Update GeoJSON * Update FeatureGroup * Update ImageOverlay * Update LayerGroup * Update VideoOverlay * Update Circle * Update Path * Update CircleMarker * Add more types dependencies * Change type in Layer * Update Polyline * Update patch functions * Create definitions file * Refactor polyline * Update TileLayer * Update WMSLayer * Update VectorLayers * Update AwesomeIcon * Make some changes to Draw Control * Update LegendControl * Small change to ScaleControl * Update update_bounds in Map * Update most of Map * A few small changes to get Map happy * Change to Map obj * Linting fixes * Add proj4leaflet types * Update imports * Remove console logs * Update projections * Bug fix in Maps * Remove any * Small update to leaflet * Small update to LayersControl * Small update to definitions * Fix bug in Control * Fix error in LegendControl * Convert to async function * Update MeasureControl * Update FullScreenControl * Update SearchControl * Update SplitMap * Update WidgetControl * Export camel_case * Anyscript other layers * Fix bug in projections * Implement feedback * Update MarkerCluster * Update ImageService * Remove requireJs config * Change var to let/const * Update DrawControl * Fix type error * Update Magnifying Glass * Update ImageService * Update Heatmap * Update Shape Layers * Update update_bounds * Change views name to be more clear * Remove commented lines * Re-add stuff for notebook v6 support
1 parent f8bf179 commit 3baddd0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1431
-1170
lines changed

js/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,16 @@
6565
},
6666
"devDependencies": {
6767
"@jupyterlab/builder": "^4.0.8",
68+
"@types/backbone": "^1.4.18",
6869
"@types/leaflet": "^1.9.8",
70+
"@types/leaflet-draw": "^1.0.11",
71+
"@types/leaflet-fullscreen": "^1.0.9",
72+
"@types/leaflet-rotatedmarker": "^0.2.5",
73+
"@types/leaflet.awesome-markers": "^2.0.28",
74+
"@types/leaflet.markercluster": "^1.5.4",
75+
"@types/leaflet.vectorgrid": "^1.3.5",
6976
"@types/node": "^20.10.5",
77+
"@types/proj4leaflet": "^1.0.10",
7078
"@types/webpack-env": "^1.18.4",
7179
"css-loader": "^3.4.2",
7280
"eslint": "^8.23.1",

0 commit comments

Comments
 (0)