Skip to content

Commit 8b602c5

Browse files
committed
Specify defaultProps type.
1 parent 41b7eb3 commit 8b602c5

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
@@ -39,6 +39,6 @@ declare class Async extends React.Component<AsyncProps, any> {
3939
public static Rejected: React.SFC<RejectedProps>
4040
}
4141

42-
declare function createInstance(defaultProps?: object): Async
42+
declare function createInstance(defaultProps?: AsyncProps): Async
4343

4444
export default createInstance

0 commit comments

Comments
 (0)