fix the config checking error for linguist

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-08-03 21:30:06 +02:00
parent f5ad95497f
commit 414ecc6a27
+3 -1
View File
@@ -35,7 +35,9 @@ export interface Config {
* A custom mapping of linguist languages to how they should be rendered as entity tags.
* If a language is mapped to '' it will not be included as a tag.
*/
languageMap?: Record<string, string | undefined>;
languageMap?: {
[language: string]: string | undefined;
};
/**
* How long to cache entity languages for in memory. Used to avoid constant db hits during
* processing. Defaults to 30 minutes.