From f94abc28211d7e16d9bbf6c4dd5bc08a591d0aae Mon Sep 17 00:00:00 2001 From: Mikhail Krilov <65118092+mitapfer@users.noreply.github.com> Date: Mon, 26 Feb 2024 17:12:10 +0500 Subject: [PATCH] upd: fix orthographic mistakes (#325) --- src/debounce/readme.md | 2 +- src/in-flight/readme.md | 2 +- src/some/readme.md | 2 +- src/spread/readme.md | 2 +- src/throttle/readme.md | 2 +- src/time/readme.md | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/debounce/readme.md b/src/debounce/readme.md index 1e8ad809..4182cfb9 100644 --- a/src/debounce/readme.md +++ b/src/debounce/readme.md @@ -153,7 +153,7 @@ someHappened(4); ### Motivation -This overload recieves `source` and `timeout` as an object. May be useful for additional clarity, but it's longer to write +This overload receives `source` and `timeout` as an object. May be useful for additional clarity, but it's longer to write ### Formulae diff --git a/src/in-flight/readme.md b/src/in-flight/readme.md index fde35d66..8fa63583 100644 --- a/src/in-flight/readme.md +++ b/src/in-flight/readme.md @@ -112,7 +112,7 @@ loadSecond(); ### Motivation -This overload recieves `effects` as an object. May be useful for additional clarity, but it's longer to write +This overload receives `effects` as an object. May be useful for additional clarity, but it's longer to write ### Formulae diff --git a/src/some/readme.md b/src/some/readme.md index ecaad628..09bb909a 100644 --- a/src/some/readme.md +++ b/src/some/readme.md @@ -19,7 +19,7 @@ It is useful to check that user filled at least a single field. $result = some({ predicate: (value) => true, stores }); ``` -- read it as: has some predicate at at least one store +- read it as: has some predicate at least one store - `$result` will be `true` if each at least `predicate` on each store value from `values` returns `true`, otherwise it will be `false` ### Arguments diff --git a/src/spread/readme.md b/src/spread/readme.md index d4f26783..e4ed3615 100644 --- a/src/spread/readme.md +++ b/src/spread/readme.md @@ -191,7 +191,7 @@ save(null); ### Motivation -This overload recieves `targets` as an object. May be useful for additional clarity, but it's longer to write +This overload receives `targets` as an object. May be useful for additional clarity, but it's longer to write ### Formulae diff --git a/src/throttle/readme.md b/src/throttle/readme.md index db611b93..3211ae77 100644 --- a/src/throttle/readme.md +++ b/src/throttle/readme.md @@ -168,7 +168,7 @@ setTimeout(() => { ### Motivation -This overload recieves `source` and `timeout` as an object. May be useful for additional clarity, but it's longer to write +This overload receives `source` and `timeout` as an object. May be useful for additional clarity, but it's longer to write ### Formulae diff --git a/src/time/readme.md b/src/time/readme.md index 2726d869..e40bb91c 100644 --- a/src/time/readme.md +++ b/src/time/readme.md @@ -30,7 +30,7 @@ $time = time(clock); 1. `clock: Event | Effect | Store` — The unit triggers time reading and updates `$time` store -— `Time` is a generic type argument used for overriding time reader function. By default, is is `number` +— `Time` is a generic type argument used for overriding time reader function. By default, it is `number` ### Returns @@ -82,7 +82,7 @@ $time = time({ clock, getNow, initial }); 2. `getNow: () => Time` — Optional. A custom function to read time when `clock` triggers. **Must be synchronous**. 3. `initial: Time` — Optional. Initial state for `$time` store. If not passed `getNow` is called. -— `Time` is a generic type argument used for overriding time reader function. By default, is is `number` +— `Time` is a generic type argument used for overriding time reader function. By default, it is `number` ### Returns