Add typing
This commit is contained in:
parent
d457cc19c9
commit
89b9cb4b47
1 changed files with 1 additions and 1 deletions
2
Utils.ts
2
Utils.ts
|
@ -284,7 +284,7 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
|
||||||
* @param useLang
|
* @param useLang
|
||||||
* @constructor
|
* @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) {
|
if (txt === undefined) {
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue