Skip to content

Commit 233886c

Browse files
authored
📝 simplify sentence
1 parent c49700e commit 233886c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/freshness.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ logIfHasName(random); // okay
5353
logIfHasName({neme: 'I just misspelled name to neme'}); // Error: object literals must only specify known properties. `neme` is excessive here.
5454
```
5555

56-
The reason why only object literals are type checked this way is because having an object literal created on the spot and passed in with additional properties *that aren't actually used* is almost always a typo or a misunderstanding of the API.
56+
The reason why only object literals are type checked this way is because in this case additional properties *that aren't actually used* is almost always a typo or a misunderstanding of the API.
5757

5858
### Allowing extra properties
5959

0 commit comments

Comments
 (0)