WebStorm reports error on untouched fork
After forking your great repo, doing an npm install and then opening the untouched code in WebStorm, it reports an error as you can see in the image below. Error message is for App in the line import {App} from './components/index'; and says Corresponding file is not included in tsconfig.json. But executing npm run devserver gives no errors and the app is running fine in the browser.
If I remove this from this tsconfig.json:
"files": [
"lib/index.ts"
]
then the error is gone. The app also runs fine (also after stopping and starting devserver), but just before the webpack: bundle is now VALID. there are many errors all saying ... error TS2300: Duplicate identifier ..., but as mentioned, the app works fine.
What would be the way to make both WebStorm and devserver happy?

Ok, I found the solution I removed the same lines of code in tsconfig.js as above, and added instead
"exclude": [ "node_modules" ]
Then everybody is happy :) Maybe this would be a better approach for the boilerplate?
Can you please create a PR? THanks