0

I've noticed strange behavior in my react-redux actions import. So, I import import * as types from './types'; as usual, everything is clean in my console and all code is works.

But I'm worried about this little error: enter image description here

What does it means and why my chrome console think this is kinda an error? Anything I should be worried about?

WebArtisan
  • 3,996
  • 10
  • 42
  • 62

1 Answers1

0

how you export your const , component from ./types file matters in import. check below link

Difference between import X and import * as X in node.js (ES6 / Babel)?

Javed Shaikh
  • 663
  • 7
  • 16
  • I know difference between exports. My question about syntax error in google chrome console. Your answer is not relevant to my question. – WebArtisan Feb 21 '18 at 11:43