i am currently making a simple react application. this is my index.tsx
index.tsx
import * as React from \'react\'; import * as ReactDOM from \'react-dom\
Just had this same problem.
You have member called term defined on the Prop inteface for your App class but you're not providing a value when you create your App element.
Try the following:
ReactDOM.render(, document.getElementById('root') as HTMLElement);