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.
|
/**
|
|
* 将一个数组随机打乱,返回一个新的数组
|
|
* @param list 数组
|
|
*/
|
|
export declare function shuffle<T>(list: T[]): T[];
|
|
|
|
declare module './ctor' {
|
|
interface XEUtilsMethods {
|
|
shuffle: typeof shuffle;
|
|
}
|
|
}
|
|
|
|
export default shuffle
|
|
|