// Type definitions for ./src/common.js // Project: [LIBRARY_URL_HERE] // Definitions by: [YOUR_NAME_HERE] <[YOUR_URL_HERE]> // Definitions: https://github.com/borisyankov/DefinitelyTyped /** * 判断数组是否有值 * @param value * @returns {boolean} * @param value * @return */ declare function hasValue_arr(value : any): boolean; /** * 将后台返回数据中的null || undefined转化成 '' * @param dataSource * @param dataSource */ declare function dealDataSource(dataSource : any): void; /** * */ declare var methods : { /** * */ hasValue_arr : /* hasValue_arr */ any; /** * */ dealDataSource : /* dealDataSource */ any; }