How to set state in TypeScript without getting assignment error?

前端 未结 0 1936
轻奢々
轻奢々 2020-12-24 10:41

I\'m writing a simple program in React-TypeScript that allows users to submit and render text to the browser.

Upon submit, a new object is generated, that object is s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题