From 8e6cb635f67356343a3fe2b866c762fd87b3c397 Mon Sep 17 00:00:00 2001 From: Martin Schuhfuss Date: Wed, 6 Dec 2023 13:37:37 +0100 Subject: [PATCH] fix: fix eslint issues --- src/algorithms/supercluster.test.ts | 2 +- src/overlay-view-safe.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/algorithms/supercluster.test.ts b/src/algorithms/supercluster.test.ts index e0eb39ab..4b968cb9 100644 --- a/src/algorithms/supercluster.test.ts +++ b/src/algorithms/supercluster.test.ts @@ -17,7 +17,7 @@ import { SuperClusterAlgorithm } from "./supercluster"; import { initialize } from "@googlemaps/jest-mocks"; import { Marker } from "../marker-utils"; -import { ClusterFeature, PointFeature } from "supercluster"; +import { ClusterFeature } from "supercluster"; initialize(); const markerClasses = [ diff --git a/src/overlay-view-safe.ts b/src/overlay-view-safe.ts index 444fdcce..a11e0ae0 100644 --- a/src/overlay-view-safe.ts +++ b/src/overlay-view-safe.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -// eslint-disable-next-line @typescript-eslint/no-empty-interface +// eslint-disable-next-line @typescript-eslint/no-empty-interface, @typescript-eslint/no-unsafe-declaration-merging export interface OverlayViewSafe extends google.maps.OverlayView {} /** @@ -36,6 +36,7 @@ function extend(type1: any, type2: any): void { /** * @ignore */ +// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging export class OverlayViewSafe { constructor() { // MarkerClusterer implements google.maps.OverlayView interface. We use the