Fix tsc error

This commit is contained in:
James Lyne 2021-05-18 14:27:55 +01:00
parent c1b5322124
commit 68094d2ee7

View File

@ -561,7 +561,7 @@ export default {
return this.validateLiveAtlasConfiguration(window.liveAtlasConfig.servers); return this.validateLiveAtlasConfiguration(window.liveAtlasConfig.servers);
} }
return this.validateDynmapConfiguration(window.config.url ?? null); return this.validateDynmapConfiguration(window.config.url as LiveAtlasServerDefinition ?? null);
}, },
validateLiveAtlasConfiguration(config: any): Promise<Map<string, LiveAtlasServerDefinition>> { validateLiveAtlasConfiguration(config: any): Promise<Map<string, LiveAtlasServerDefinition>> {