@lntvow/utils 1.8.3 → 1.8.4

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -18,7 +18,7 @@ export declare function composeRight(...fns: ((...args: any[]) => any)[]): (...a
18
18
  * @description 防抖函数
19
19
  * @param target 目标函数
20
20
  * @param wait 等待时间 默认 1000ms
21
- * @example debounce(() => console.log('debounce'),500)
21
+ * @example debounce(() => console.log('debounce'), 500)
22
22
  */
23
23
  export declare function debounce(target: Function, wait?: number): (...args: any[]) => void;
24
24
 
@@ -165,7 +165,7 @@ declare interface Options {
165
165
  * @description 节流函数
166
166
  * @param target 目标函数
167
167
  * @param wait 等待时间 默认 1000ms
168
- * @example throttle(() =>
168
+ * @example throttle(() => console.log('hello world'), 500)
169
169
  */
170
170
  export declare function throttle(target: Function, wait?: number): (...args: any[]) => any;
171
171
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lntvow/utils",
3
- "version": "1.8.3",
3
+ "version": "1.8.4",
4
4
  "description": "工具库",
5
5
  "type": "module",
6
6
  "license": "MIT",