You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
257 B
15 lines
257 B
5 months ago
|
/**
|
||
|
* 返回对象第一个索引值
|
||
|
* @param obj 对象
|
||
|
* @param val 值
|
||
|
*/
|
||
|
export declare function indexOf(obj: any, val: any): number;
|
||
|
|
||
|
declare module './ctor' {
|
||
|
interface XEUtilsMethods {
|
||
|
indexOf: typeof indexOf;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default indexOf
|