1
This commit is contained in:
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/lastIndexOf.d.ts
vendored
Normal file
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/lastIndexOf.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 从最后开始的索引值,返回对象第一个索引值
|
||||
* @param obj 对象
|
||||
* @param val 值
|
||||
*/
|
||||
export declare function lastIndexOf(obj: any[], val: any): number;
|
||||
export declare function lastIndexOf(obj: any, val: any): number;
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
lastIndexOf: typeof lastIndexOf;
|
||||
}
|
||||
}
|
||||
|
||||
export default lastIndexOf
|
||||
Reference in New Issue
Block a user