press-ui
Version:
简单、易用的跨端组件库,兼容 Vue2 和 Vue3,同时支持 uni-app和普通 Vue 项目
14 lines (13 loc) • 572 B
TypeScript
export declare const t: (this: any, path?: string, ...options: Array<any>) => any;
export declare const use: (l?: Record<string, any>) => void;
export declare const i18n: (fn?: any) => void;
export declare const add: (messages?: {}) => void;
export declare const getLang: () => Record<string, any>;
declare const innerDefault: {
use: (l?: Record<string, any> | undefined) => void;
t: (this: any, path?: string, ...options: any[]) => any;
i18n: (fn?: any) => void;
add: (messages?: {}) => void;
getLang: () => Record<string, any>;
};
export default innerDefault;