Files
number_zj/20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/toArray.d.ts
毛财君 197b38ca6f 1
2023-07-06 17:37:33 +08:00

15 lines
298 B
TypeScript

/**
* 将对象或者伪数组转为新数组
* @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