diff --git a/plugins/linguist-backend/config.d.ts b/plugins/linguist-backend/config.d.ts index 5faf28fb1d..e7ad487d12 100644 --- a/plugins/linguist-backend/config.d.ts +++ b/plugins/linguist-backend/config.d.ts @@ -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; + 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.