Merge pull request #19 from Domino987/patch-1

Fix for getString language optional
This commit is contained in:
Stefano Falda 2019-07-29 16:59:33 +02:00 committed by GitHub
commit d8a03fa0cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ declare module "localized-strings" {
* @param language
* @param omitWarning
*/
getString(key: string, language: string, omitWarning: boolean): string;
getString(key: string, language?: string, omitWarning?: boolean): string;
/**
* Replace the NamedLocalization object without reinstantiating the object