Refactoring: save ID to the hash of the URL

This commit is contained in:
Pieter Vander Vennet 2023-04-24 02:54:15 +02:00
parent 7d941e8a9a
commit 78c56f6fa2
4 changed files with 27 additions and 163 deletions

View file

@ -286,7 +286,7 @@ export default class LayoutConfig implements LayoutInformation {
return { untranslated, total }
}
public getMatchingLayer(tags: any): LayerConfig | undefined {
public getMatchingLayer(tags: Record<string, string>): LayerConfig | undefined {
if (tags === undefined) {
return undefined
}