Skip to content

Commit

Permalink
Ignore unused error variables in MaplibreLayer.ts.
Browse files Browse the repository at this point in the history
  • Loading branch information
erictheise committed Jun 5, 2024
1 parent 9486e4a commit 89cca01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/MaplibreLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const MaplibreLayer = L.Layer.extend({
}
},

_update: function (e: any) {
_update: function (_e: any) {

Check warning on line 183 in js/MaplibreLayer.ts

View workflow job for this annotation

GitHub Actions / test (18.x)

Unexpected any. Specify a different type

Check warning on line 183 in js/MaplibreLayer.ts

View workflow job for this annotation

GitHub Actions / test (20.x)

Unexpected any. Specify a different type
// update the offset so we can correct for it later when we zoom
this._offset = this._map.containerPointToLayerPoint([0, 0]);

Expand Down Expand Up @@ -228,7 +228,7 @@ const MaplibreLayer = L.Layer.extend({
},

// update the map constantly during a pinch zoom
_pinchZoom: function (e: any) {
_pinchZoom: function (_e: any) {

Check warning on line 231 in js/MaplibreLayer.ts

View workflow job for this annotation

GitHub Actions / test (18.x)

Unexpected any. Specify a different type

Check warning on line 231 in js/MaplibreLayer.ts

View workflow job for this annotation

GitHub Actions / test (20.x)

Unexpected any. Specify a different type
this._glMap.jumpTo({
zoom: this._map.getZoom() - 1,
center: this._map.getCenter()
Expand Down Expand Up @@ -261,7 +261,7 @@ const MaplibreLayer = L.Layer.extend({
);
},

_zoomStart: function (e: any) {
_zoomStart: function (_e: any) {

Check warning on line 264 in js/MaplibreLayer.ts

View workflow job for this annotation

GitHub Actions / test (18.x)

Unexpected any. Specify a different type

Check warning on line 264 in js/MaplibreLayer.ts

View workflow job for this annotation

GitHub Actions / test (20.x)

Unexpected any. Specify a different type
this._zooming = true;
},

Expand All @@ -280,7 +280,7 @@ const MaplibreLayer = L.Layer.extend({
this._update();
},

_transitionEnd: function (e: any) {
_transitionEnd: function (_e: any) {
L.Util.requestAnimFrame(function (this: any) {
const zoom = this._map.getZoom();
const center = this._map.getCenter();
Expand Down

0 comments on commit 89cca01

Please sign in to comment.