Skip to content

Commit

Permalink
Inspection fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JLyne committed Jun 17, 2022
1 parent 4886f9e commit f4d489b
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 20 deletions.
1 change: 0 additions & 1 deletion src/components/ChatBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
16 changes: 0 additions & 16 deletions src/dynmap.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/leaflet/control/LiveAtlasLayerControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
1 change: 0 additions & 1 deletion src/leaflet/control/LoginControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions src/providers/OverviewerMapProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand All @@ -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',

Expand Down

0 comments on commit f4d489b

Please sign in to comment.