You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
296 B
10 lines
296 B
import types = require('./types');
|
|
|
|
declare class I18n {
|
|
constructor(locale: string, langs: types.PlainObj<any>);
|
|
set(locale: string, lang: types.PlainObj<any>): void;
|
|
t(path: string | string[], data?: types.PlainObj<any>): string;
|
|
locale(locale: string): void;
|
|
}
|
|
|
|
export = I18n;
|
|
|