开发:更新api
This commit is contained in:
2
types/Common/ArrayExt.d.ts
vendored
2
types/Common/ArrayExt.d.ts
vendored
@@ -23,7 +23,7 @@ export declare function arrayLast<T>(arr: {
|
||||
export declare function arraySortByNumber<T>(arr: Array<T>): Array<T>;
|
||||
/**
|
||||
* 对排序好的数组进行去重操作
|
||||
* @param {(e1, e2) => boolean} [checkFuction] 校验对象相等函数
|
||||
* @param {(e1, e2) => boolean} [checkFuction] 校验对象相等函数,如果相等 则删除e2
|
||||
* @returns {Array<T>} 返回自身
|
||||
*/
|
||||
export declare function arrayRemoveDuplicateBySort<T>(arr: Array<T>, checkFuction?: (e1: T, e2: T) => boolean): Array<T>;
|
||||
|
Reference in New Issue
Block a user