Skip to content

Commit

Permalink
Fix useSuspender.callEarly returning type in readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
octet-stream committed Apr 13, 2020
1 parent 83a21ff commit d92a8df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ and resolve a result from suspender.

- **{any[]}** args – arguments to call the suspender with

### `useSuspender.callEarly([...args]) -> {any}`
### `useSuspender.callEarly([...args]) -> {void}`

Calls usesSuspense early a silence Promise first throwing needed to notify `React.Suspense`

Expand Down

0 comments on commit d92a8df

Please sign in to comment.