mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-15 06:20:23 +00:00
update signature for method "locale"
This commit is contained in:
Vendored
+1
-1
@@ -32,7 +32,7 @@ export interface Translations {
|
||||
|
||||
export interface Ii18n {
|
||||
/** get the current locale */
|
||||
locale(): string;
|
||||
locale(): string | null;
|
||||
|
||||
/** get all the registered locales */
|
||||
locales(): string[];
|
||||
|
||||
Reference in New Issue
Block a user