Skip to content

Commit

Permalink
docs: fix typo will -> well (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirjs authored Apr 11, 2021
1 parent 0af1143 commit 557aad5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions website/docs/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ sidebar_label: TypeScript / Flow
data-ea-type="image"
className="horizontal bordered"
></div>
</center>
<details>
</center> <details>
<summary className="egghead-summary">
egghead.io lesson 12: Immer + TypeScript
</summary>
Expand Down Expand Up @@ -66,7 +65,7 @@ This ensures that the only place you can modify your state is in your produce ca

## Tips for curried producers

We try to inference as much as possible. So if a curried producer is created and directly passed to another function, we can infer the type from there. This works will with for example React:
We try to inference as much as possible. So if a curried producer is created and directly passed to another function, we can infer the type from there. This works well with for example React:

```typescript
import {Immutable, produce} from "immer"
Expand Down

0 comments on commit 557aad5

Please sign in to comment.