@lntvow/utils 2.3.2 → 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -162,7 +162,7 @@ export declare interface GenerateRandomStringOptions {
162
162
 
163
163
  /**
164
164
  * @description 获取数组中的随机元素
165
- * @example getRandomItem([1,2,3]) => 2
165
+ * @example getRandomItem([0, 1, 2, 3, 4]) => 2
166
166
  */
167
167
  export declare function getRandomItem<T>(list: T[]): T;
168
168
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lntvow/utils",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "工具库",
5
5
  "type": "module",
6
6
  "license": "MIT",