質問編集履歴

2

useStateの型

2020/01/18 04:21

投稿

MajinBoo
MajinBoo

スコア16

test CHANGED
File without changes
test CHANGED
@@ -67,3 +67,19 @@
67
67
 
68
68
 
69
69
  [サンプル](https://codesandbox.io/s/fast-dew-qo45t?fontsize=14&hidenavigation=1&theme=dark)
70
+
71
+
72
+
73
+ 追記 useStateの型
74
+
75
+ ---
76
+
77
+ VScode
78
+
79
+ ![a](7c3ac6c8ce13181b790b3ff6e73ae1b9.jpeg)
80
+
81
+
82
+
83
+ CodeSandbox
84
+
85
+ ![イメージ説明](c0cebe7051a2aeccba6623c8d833ccb4.jpeg)

1

本文

2020/01/18 04:21

投稿

MajinBoo
MajinBoo

スコア16

test CHANGED
File without changes
test CHANGED
@@ -62,7 +62,7 @@
62
62
 
63
63
 
64
64
 
65
- また、codesandboxで作成したサンプルでは、エラーが出た型と同じ型を付与したところ、エラーが出ませんでした。
65
+ また、codesandboxでサンプルを作成しエラーが出た型と同じ型を付与したところ、エラーが出ませんでした。
66
66
 
67
67
 
68
68