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
298 B
15 lines
298 B
5 months ago
|
/**
|
||
|
* 将对象或者伪数组转为新数组
|
||
|
* @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
|