Skip to content

Commit 2faaee8

Browse files
committed
Fix invalid arguments order in typings.
1 parent 50046a2 commit 2faaee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type PromiseFn<T> = (props: object) => Promise<T>
55

66
interface AsyncOptions<T> {
77
promiseFn?: (props: object, controller: AbortController) => Promise<T>
8-
deferFn?: (props: object, controller: AbortController, args: any[]) => Promise<T>
8+
deferFn?: (args: any[], props: object, controller: AbortController) => Promise<T>
99
watch?: any
1010
watchFn?: (props: object, prevProps: object) => any
1111
initialValue?: T

0 commit comments

Comments
 (0)