Skip to content

Commit

Permalink
Link to ReturnType from $Call docs (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar303 authored Sep 17, 2020
1 parent 259d12b commit ff848f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,8 @@ type ValuesType = $ElementType<Obj, string>;
get the return type of a given expression type<br>
https://flow.org/en/docs/types/utilities/#toc-call

The built-in [`ReturnType`](https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype) can be used to accomplish the same goal, although it may have some subtle differences.

**Usage:**

```ts
Expand Down

0 comments on commit ff848f2

Please sign in to comment.