Skip to content

Commit a1fe54b

Browse files
authoredJul 28, 2022
fix readme typos (#260)
1 parent 8596699 commit a1fe54b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,11 @@ export default ({
179179
Different projects have different needs, and conventions vary across teams, and this is why `typesafe-actions` was designed with flexibility in mind. It provides three different major styles so you can choose whichever would be the best fit for your team.
180180

181181
#### 1. Basic actions
182-
`action` and `createAction` are creators that can create **actions** with predefined properties ({ type, payload, meta }). This make them concise but also opinionated.
182+
`action` and `createAction` are creators that can create **actions** with predefined properties ({ type, payload, meta }). This makes them concise but also opinionated.
183183

184184
Important property is that resulting **action-creator** will have a variadic number of arguments and preserve their semantic names `(id, title, amount, etc...)`.
185185

186-
This two creators are very similar and the only real difference is that `action` **WILL NOT WORK** with **action-helpers**.
186+
These two creators are very similar and the only real difference is that `action` **WILL NOT WORK** with **action-helpers**.
187187

188188
```ts
189189
import { action, createAction } from 'typesafe-actions';
@@ -359,7 +359,7 @@ createReducer<State, Action>(...)
359359
360360
#### Using createReducer API with type-free syntax
361361
362-
We can prevent a lot of boilerplate code and type errors using this powerfull and completely typesafe API.
362+
We can prevent a lot of boilerplate code and type errors using this powerful and completely typesafe API.
363363
364364
Using handleAction chain API:
365365
```ts
@@ -1356,7 +1356,7 @@ Existing solutions in the wild have been either **too verbose because of redunda
13561356
13571357
**So I created `typesafe-actions` to address all of the above pain points.**
13581358
1359-
The core idea was to design an API that would mostly use the power of TypeScript **type-inference** 💪 to lift the "maintainability burden" of type annotations. In addition, I wanted to make it "look and feel" as close as possible to the idiomatic JavaScript ❤️ , so we don't have to write the redundant type annotations that which will create additional noise in your code.
1359+
The core idea was to design an API that would mostly use the power of TypeScript **type-inference** 💪 to lift the "maintainability burden" of type annotations. In addition, I wanted to make it "look and feel" as close as possible to the idiomatic JavaScript ❤️ , so we don't have to write the redundant type annotations that will create additional noise in your code.
13601360
13611361
[⇧ back to top](#table-of-contents)
13621362

0 commit comments

Comments
 (0)
Please sign in to comment.