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.
34 lines
617 B
34 lines
617 B
5 months ago
|
import SetupDefaults from './setupDefaults'
|
||
|
|
||
|
/**
|
||
|
* 版本信息
|
||
|
*/
|
||
|
export const VERSION: string;
|
||
|
|
||
|
/**
|
||
|
* 设置全局参数
|
||
|
* @param options 全局参数
|
||
|
*/
|
||
|
export function setup(options: SetupDefaults): SetupDefaults;
|
||
|
|
||
|
/**
|
||
|
* 将您自己的实用函数扩展到 XEUtils
|
||
|
* @param methods 函数集
|
||
|
*/
|
||
|
export function mixin(...methods: {[key: string]: any}[]): void;
|
||
|
|
||
|
export interface XEUtilsMethods {
|
||
|
VERSION: typeof VERSION;
|
||
|
setup: typeof setup;
|
||
|
mixin: typeof mixin;
|
||
|
|
||
|
[propertys: string]: any;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* JavaScript 函数库、工具类
|
||
|
*/
|
||
|
declare var XEUtils: XEUtilsMethods
|
||
|
|
||
|
export default XEUtils
|