Skip to content

Commit 3528964

Browse files
authored
Merge pull request #2858 from hanasiu/patch-10
Update part9d.md
2 parents cdd024a + 4706a5b commit 3528964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/9/en/part9d.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ It does not quite work, there is an Eslint error complaining about implicit any:
813813
814814
![vscode error event implicitly has any type](../../images/9/68new.png)
815815
816-
TypeScript compiler has now no clue what is the type of the parameter, so that is why the type is the infamous implicit any that we wan to [avoid](/en/part9/first_steps_with_type_script#the-horrors-of-any) at all costs. The React TypeScript cheatsheet comes again to rescue, the chapter about
816+
TypeScript compiler has now no clue what is the type of the parameter, so that is why the type is the infamous implicit any that we want to [avoid](/en/part9/first_steps_with_type_script#the-horrors-of-any) at all costs. The React TypeScript cheatsheet comes again to rescue, the chapter about
817817
[forms and events](https://react-typescript-cheatsheet.netlify.app/docs/basic/getting-started/forms_and_events) reveals that the right type of event handler is *React.SyntheticEvent*.
818818
819819
The code becomes

0 commit comments

Comments
 (0)