1
This commit is contained in:
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/toArray.d.ts
vendored
Normal file
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/toArray.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 将对象或者伪数组转为新数组
|
||||
* @param list 对象/数组
|
||||
*/
|
||||
export declare function toArray<T>(list: T[]): T[];
|
||||
export declare function toArray(list: any): any[];
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
toArray: typeof toArray;
|
||||
}
|
||||
}
|
||||
|
||||
export default toArray
|
||||
Reference in New Issue
Block a user