mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Added locales method to Ii18n interface.
This commit is contained in:
Vendored
+3
@@ -25,6 +25,9 @@ export interface Ii18n {
|
||||
/** get the current locale */
|
||||
locale(): string;
|
||||
|
||||
/** get all the registered locales */
|
||||
locales(): string[];
|
||||
|
||||
/** set the current locale (i.e. 'de', 'en') */
|
||||
set(locale: string): void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user