Skip to content

Commit 3e34945

Browse files
authored
Merge pull request #73 from InhiblabCore/dev
fix: use-request option debounceMaxWait type
2 parents b2f308e + 010689c commit 3e34945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/hooks/src/useRequest/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export interface BasicOptions<TData, TParams extends any[]> {
6868
debounceWait?: Ref<number> | number
6969
debounceLeading?: Ref<boolean> | boolean
7070
debounceTrailing?: Ref<boolean> | boolean
71-
debounceMaxWait?: Ref<number>
71+
debounceMaxWait?: Ref<number> | number
7272

7373
// 节流
7474
throttleWait?: Ref<number> | number

0 commit comments

Comments
 (0)