Merge pull request #19 from Domino987/patch-1
Fix for getString language optional
This commit is contained in:
commit
d8a03fa0cc
2
lib/LocalizedStrings.d.ts
vendored
2
lib/LocalizedStrings.d.ts
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user