Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f0fbba8

Browse files
authoredMay 24, 2024
Merge pull request #170 from okuramasafumi/patch-2
FIx typo in code sample in freshness.md
2 parents 1b3b377 + 15c612b commit f0fbba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/types/freshness.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,5 @@ this.setState({foo: "Hello"}); // Yay works fine!
9292
this.setState({foos: "Hello"}}; // Error: Objects may only specify known properties
9393

9494
// And still type checked
95-
this.setState({foo: 123}}; // Error: Cannot assign number to a string
95+
this.setState({foo: 123}); // Error: Cannot assign number to a string
9696
```

0 commit comments

Comments
 (0)
Please sign in to comment.