1
This commit is contained in:
33
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/ctor.d.ts
vendored
Normal file
33
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/ctor.d.ts
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
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
|
||||
Reference in New Issue
Block a user