LoginSignup
0
0

More than 1 year has passed since last update.

stateのtypeを指定しないと怒られるようです。→ Property 'value' does not exist on type 'Readonly<{}>'

Posted at

Componentのtypeはdefaultで以下のようになっているから自前のstateのtypeを指定
してあげないと「Property 'value' does not exist on type 'Readonly<{}>'
」というように怒られるようです。
Screen Shot 2021-07-11 at 10.07.27.png
参考リンク
https://stackoverflow.com/questions/47561848/property-value-does-not-exist-on-type-readonly

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0