1
This commit is contained in:
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/max.d.ts
vendored
Normal file
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/max.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
/**
|
||||
* 获取最大值
|
||||
* @param list 数组
|
||||
* @param iterate 回调/属性
|
||||
*/
|
||||
export declare function max<T, U>(list: T[], iterate: string | number | ((item: T, index: number, list: T[]) => U)): T | U;
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
max: typeof max;
|
||||
}
|
||||
}
|
||||
|
||||
export default max
|
||||
Reference in New Issue
Block a user