diff --git a/src/components/ChatBox.vue b/src/components/ChatBox.vue index 9b3787f..fe8ba22 100644 --- a/src/components/ChatBox.vue +++ b/src/components/ChatBox.vue @@ -36,7 +36,6 @@ import ChatMessage from "@/components/chat/ChatMessage.vue"; import {ActionTypes} from "@/store/action-types"; import ChatError from "@/errors/ChatError"; - import {MutationTypes} from "@/store/mutation-types"; export default defineComponent({ components: { diff --git a/src/dynmap.d.ts b/src/dynmap.d.ts index 4f58196..65fa3ec 100644 --- a/src/dynmap.d.ts +++ b/src/dynmap.d.ts @@ -66,22 +66,6 @@ interface DynmapMarkerUpdate { payload: LiveAtlasMarker, } -interface DynmapPointUpdate extends DynmapMarkerUpdate { - payload?: LiveAtlasPointMarker -} - -interface DynmapAreaUpdate extends DynmapMarkerUpdate { - payload?: LiveAtlasAreaMarker -} - -interface DynmapCircleUpdate extends DynmapMarkerUpdate { - payload?: LiveAtlasCircleMarker -} - -interface DynmapLineUpdate extends DynmapMarkerUpdate { - payload?: LiveAtlasLineMarker -} - interface DynmapTileUpdate { name: string timestamp: number diff --git a/src/leaflet/control/LiveAtlasLayerControl.ts b/src/leaflet/control/LiveAtlasLayerControl.ts index 952a15c..993f7e3 100644 --- a/src/leaflet/control/LiveAtlasLayerControl.ts +++ b/src/leaflet/control/LiveAtlasLayerControl.ts @@ -93,6 +93,7 @@ export class LiveAtlasLayerControl extends Control.Layers { return this; } + // noinspection JSUnusedGlobalSymbols _initLayout() { const className = 'leaflet-control-layers', container = this._container = DomUtil.create('div', className), diff --git a/src/leaflet/control/LoginControl.ts b/src/leaflet/control/LoginControl.ts index 5a7dfbd..6ce6c07 100644 --- a/src/leaflet/control/LoginControl.ts +++ b/src/leaflet/control/LoginControl.ts @@ -16,7 +16,6 @@ import {Control, ControlOptions, DomEvent, DomUtil} from 'leaflet'; import {useStore} from "@/store"; -import {MutationTypes} from "@/store/mutation-types"; import {watch} from "@vue/runtime-core"; import "@/assets/icons/login.svg"; diff --git a/src/providers/OverviewerMapProvider.ts b/src/providers/OverviewerMapProvider.ts index 5cf0cad..05da1f7 100644 --- a/src/providers/OverviewerMapProvider.ts +++ b/src/providers/OverviewerMapProvider.ts @@ -63,7 +63,7 @@ export default class OverviewerMapProvider extends MapProvider { } } - private static buildServerConfig(response: any): LiveAtlasServerConfig { + private static buildServerConfig(ignore: any): LiveAtlasServerConfig { return { title: useStore().state.initialTitle, @@ -77,7 +77,7 @@ export default class OverviewerMapProvider extends MapProvider { }; } - private static buildMessagesConfig(response: any): LiveAtlasServerMessageConfig { + private static buildMessagesConfig(ignore: any): LiveAtlasServerMessageConfig { return { worldsHeading: 'Worlds',