uni-ticket-system/node_modules/licia/I18n.d.ts
2023-12-05 10:11:10 +08:00

11 lines
296 B
TypeScript

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;