After pulling down your repo and inspecting it, I realised that you do not have react typings for typescript.
Typings is the simple way to manage and install TypeScript definitions
Adding this line
"@types/react": "^16.0.25" // or another version you prefer
to the package.json
and running npm i
or yarn
if you are using yarn as a package manager, one more time, solved the issue.
Try it out and let me know if this solves it on your side :)
PS: TypeScript requires you to describe the shape of your objects and your data. If you look at the other answer I provided earlier, it was pretty much a long and complicated version of You need to specify a type that describes your props and need to pass this to the component in question
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…