Add typing

This commit is contained in:
pietervdvn 2022-09-02 12:35:23 +02:00
parent d457cc19c9
commit 89b9cb4b47

View file

@ -284,7 +284,7 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
* @param useLang
* @constructor
*/
public static SubstituteKeys(txt: string | undefined, tags?: any, useLang?: string): string | undefined {
public static SubstituteKeys(txt: string | undefined, tags?: Record<string, any>, useLang?: string): string | undefined {
if (txt === undefined) {
return undefined
}