Inspection fixes

This commit is contained in:
James Lyne 2022-06-17 14:02:58 +01:00
parent 4886f9e955
commit f4d489b474
5 changed files with 3 additions and 20 deletions

View File

@ -36,7 +36,6 @@
import ChatMessage from "@/components/chat/ChatMessage.vue"; import ChatMessage from "@/components/chat/ChatMessage.vue";
import {ActionTypes} from "@/store/action-types"; import {ActionTypes} from "@/store/action-types";
import ChatError from "@/errors/ChatError"; import ChatError from "@/errors/ChatError";
import {MutationTypes} from "@/store/mutation-types";
export default defineComponent({ export default defineComponent({
components: { components: {

16
src/dynmap.d.ts vendored
View File

@ -66,22 +66,6 @@ interface DynmapMarkerUpdate {
payload: LiveAtlasMarker, 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 { interface DynmapTileUpdate {
name: string name: string
timestamp: number timestamp: number

View File

@ -93,6 +93,7 @@ export class LiveAtlasLayerControl extends Control.Layers {
return this; return this;
} }
// noinspection JSUnusedGlobalSymbols
_initLayout() { _initLayout() {
const className = 'leaflet-control-layers', const className = 'leaflet-control-layers',
container = this._container = DomUtil.create('div', className), container = this._container = DomUtil.create('div', className),

View File

@ -16,7 +16,6 @@
import {Control, ControlOptions, DomEvent, DomUtil} from 'leaflet'; import {Control, ControlOptions, DomEvent, DomUtil} from 'leaflet';
import {useStore} from "@/store"; import {useStore} from "@/store";
import {MutationTypes} from "@/store/mutation-types";
import {watch} from "@vue/runtime-core"; import {watch} from "@vue/runtime-core";
import "@/assets/icons/login.svg"; import "@/assets/icons/login.svg";

View File

@ -63,7 +63,7 @@ export default class OverviewerMapProvider extends MapProvider {
} }
} }
private static buildServerConfig(response: any): LiveAtlasServerConfig { private static buildServerConfig(ignore: any): LiveAtlasServerConfig {
return { return {
title: useStore().state.initialTitle, 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 { return {
worldsHeading: 'Worlds', worldsHeading: 'Worlds',