diff --git a/packages/workflow/src/utils.ts b/packages/workflow/src/utils.ts index 054a896d16024..e043b18ad0e6f 100644 --- a/packages/workflow/src/utils.ts +++ b/packages/workflow/src/utils.ts @@ -187,7 +187,7 @@ export function randomInt(min: number, max: number): number; * Generates a random integer within a specified range. * * @param {number} min - The lower bound of the range. If `max` is not provided, this value is used as the upper bound and the lower bound is set to 0. - * @param {number} [max] - The upper bound of the range. + * @param {number} [max] - The upper bound of the range, not inclusive. * @returns {number} A random integer within the specified range. */ export function randomInt(min: number, max?: number): number {