uni-ticket-system/node_modules/licia/I18n.d.ts

11 lines
296 B
TypeScript
Raw Normal View History

2023-12-05 02:11:10 +00:00
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;