1
This commit is contained in:
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/arrayIndexOf.d.ts
vendored
Normal file
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/arrayIndexOf.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 返回数组第一个索引值
|
||||
* @param list 数组
|
||||
* @param val 值
|
||||
*/
|
||||
export declare function arrayIndexOf<T>(list: ArrayLike<T>, val: any): number;
|
||||
export declare function arrayIndexOf(list: any[], val: any): number;
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
arrayIndexOf: typeof arrayIndexOf;
|
||||
}
|
||||
}
|
||||
|
||||
export default arrayIndexOf
|
||||
Reference in New Issue
Block a user