Skip to content

Commit 1c79637

Browse files
brabejighengeveld
authored andcommitted
Fix AsyncProps type (#19)
1 parent 7271a7b commit 1c79637

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
@@ -3,7 +3,7 @@ import * as React from "react"
33
type AsyncChildren<T> = ((state: AsyncState<T>) => React.ReactNode) | React.ReactNode
44
type PromiseFn<T> = (props: object) => Promise<T>
55

6-
interface AsyncProps<T> {
6+
interface AsyncOptions<T> {
77
promiseFn?: (props: object, controller: AbortController) => Promise<T>
88
deferFn?: (...args: any[]) => Promise<T>
99
watch?: any

0 commit comments

Comments
 (0)