UNPKG

di-shan-utils

Version:

JavaScript 函数库、工具类

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