更改注释

This commit is contained in:
yhh
2021-01-21 10:18:23 +08:00
parent f6b6a8aa1b
commit 93768fb4d9
8 changed files with 9 additions and 13 deletions

View File

@@ -3925,10 +3925,10 @@ declare class RandomUtils {
*/
static randrange(start: number, stop: number, step?: number): number;
/**
* 返回a 到 b间的随机整数,包括 a 和 b
* 返回a 到 b间的随机整数,包括 a 和 b
* @param a
* @param b
* @return [a, b] 直接的随机整数
* @return [a, b] 之间的随机整数
*
*/
static randint(a: number, b: number): number;

View File

@@ -10180,10 +10180,10 @@ var RandomUtils = /** @class */ (function () {
return Math.floor(this.random() * n) * step + Math.min(start, stop);
};
/**
* 返回a 到 b间的随机整数,包括 a 和 b
* 返回a 到 b间的随机整数,包括 a 和 b
* @param a
* @param b
* @return [a, b] 直接的随机整数
* @return [a, b] 之间的随机整数
*
*/
RandomUtils.randint = function (a, b) {