Skip to content

Commit a7868fc

Browse files
zabdalimovisaacs
authored andcommitted
fix few typos in README.md
PR-URL: #337 Credit: @zabdalimov Close: #337 Reviewed-by: @isaacs
1 parent 200c622 commit a7868fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ will of course only have an effect on subsequent method calls.
131131
The maximum number of items that remain in the cache (assuming no
132132
TTL pruning or explicit deletions). Note that fewer items may be
133133
stored if size calculation is used, and `maxSize` is exceeded.
134-
This must be a positive finite intger.
134+
This must be a positive finite integer.
135135

136136
At least one of `max`, `maxSize`, or `TTL` is required. This
137137
must be a positive integer if set.
@@ -700,7 +700,7 @@ If you call `fetch()` multiple times with the same key value,
700700
then every call after the first will resolve on the same
701701
promise<sup>1</sup>,
702702
_even if they have different settings that would otherwise change
703-
the behvavior of the fetch_, such as `noDeleteOnFetchRejection`
703+
the behavior of the fetch_, such as `noDeleteOnFetchRejection`
704704
or `ignoreFetchAbort`.
705705

706706
In most cases, this is not a problem (in fact, only fetching
@@ -1066,7 +1066,7 @@ This cache never stores undefined values, as `undefined` is used
10661066
internally in a few places to indicate that a key is not in the
10671067
cache.
10681068

1069-
You may call `cache.set(key, undefined)`, but this is just an
1069+
You may call `cache.set(key, undefined)`, but this is just
10701070
an alias for `cache.delete(key)`. Note that this has the effect
10711071
that `cache.has(key)` will return _false_ after setting it to
10721072
undefined.

0 commit comments

Comments
 (0)