We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0728bf5 commit 21e3c6eCopy full SHA for 21e3c6e
typings/index.d.ts
@@ -4,7 +4,7 @@ type AsyncChildren<T> = ((state: AsyncState<T>) => React.ReactNode) | React.Reac
4
type PromiseFn<T> = (props: object) => Promise<T>
5
6
interface AsyncProps<T> {
7
- promiseFn?: (props: object) => Promise<T>
+ promiseFn?: (props: object, controller: AbortController) => Promise<T>
8
deferFn?: (...args: any[]) => Promise<T>
9
watch?: any
10
initialValue?: T
0 commit comments