1
This commit is contained in:
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/random.d.ts
vendored
Normal file
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/random.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 获取一个指定范围内随机数
|
||||
* @param min 最小值
|
||||
* @param max 最大值
|
||||
*/
|
||||
export declare function random(min: number, max: number): number;
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
random: typeof random;
|
||||
}
|
||||
}
|
||||
|
||||
export default random
|
||||
Reference in New Issue
Block a user