From 15c612bc9ee58de5ee500ee1aa8394f54a886c85 Mon Sep 17 00:00:00 2001 From: OKURA Masafumi Date: Fri, 24 May 2024 11:17:57 +0900 Subject: [PATCH] FIx typo in code sample in freshness.md --- docs/types/freshness.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/types/freshness.md b/docs/types/freshness.md index eda99bc0..af085b77 100644 --- a/docs/types/freshness.md +++ b/docs/types/freshness.md @@ -92,5 +92,5 @@ this.setState({foo: "Hello"}); // Yay works fine! this.setState({foos: "Hello"}}; // Error: Objects may only specify known properties // And still type checked -this.setState({foo: 123}}; // Error: Cannot assign number to a string +this.setState({foo: 123}); // Error: Cannot assign number to a string ```