We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1b3b377 + 15c612b commit f0fbba8Copy full SHA for f0fbba8
docs/types/freshness.md
@@ -92,5 +92,5 @@ this.setState({foo: "Hello"}); // Yay works fine!
92
this.setState({foos: "Hello"}}; // Error: Objects may only specify known properties
93
94
// And still type checked
95
-this.setState({foo: 123}}; // Error: Cannot assign number to a string
+this.setState({foo: 123}); // Error: Cannot assign number to a string
96
```
0 commit comments