You have the following interface:
interface AppProps {
humans: any;
stores: any;
}
What do you say that Appshould be referred to humansand stores. However, you initialize it as <App />in ReactDOM.render(<App />, document.getElementById('main')); without properties . This is TypeScript, providing you errors regarding what you said, this is an intentional use. This is a mistake, like a function with arguments, but calling it without passing any.
Fix
Perhaps these properties are optional for you? If so declared as such:
interface AppProps {
humans?: any;
stores?: any;
}
Otherwise, specify them, for example. <App humans={123} stores={123} />(examples of people and stores).