1
This commit is contained in:
13
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/shuffle.d.ts
vendored
Normal file
13
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/shuffle.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* 将一个数组随机打乱,返回一个新的数组
|
||||
* @param list 数组
|
||||
*/
|
||||
export declare function shuffle<T>(list: T[]): T[];
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
shuffle: typeof shuffle;
|
||||
}
|
||||
}
|
||||
|
||||
export default shuffle
|
||||
Reference in New Issue
Block a user