I have only one export default
line in my code. However, in WebStorm with Typescript, I get this TS Error:
Ts2528: a module cannot have multiple default exports
Here is the code:
ts import { ModelCreator } from 'entities/model-creator' export default ModelCreator()
I had the same error. After restarting WebStorm it worked again.