![How to Correctly Use TypeScript Module Import Syntax and Settings in Various Circumstances | by Bing Ren | JavaScript in Plain English How to Correctly Use TypeScript Module Import Syntax and Settings in Various Circumstances | by Bing Ren | JavaScript in Plain English](https://miro.medium.com/v2/resize:fit:1082/1*wNtKyaRxglJ9qgvjLe2BGw.png)
How to Correctly Use TypeScript Module Import Syntax and Settings in Various Circumstances | by Bing Ren | JavaScript in Plain English
![Index1.js:1 Uncaught SyntaxError: Cannot use import statement outside a module - React - Code with Mosh Forum Index1.js:1 Uncaught SyntaxError: Cannot use import statement outside a module - React - Code with Mosh Forum](https://global.discourse-cdn.com/business7/uploads/codewithmosh/original/2X/4/42d2695ea51428206fe63e58ca869ca39541be64.png)
Index1.js:1 Uncaught SyntaxError: Cannot use import statement outside a module - React - Code with Mosh Forum
![SyntaxError: Cannot use import statement outside a module - Get Help and Help Others - RedwoodJS Community SyntaxError: Cannot use import statement outside a module - Get Help and Help Others - RedwoodJS Community](https://rwjs-discourse.nyc3.cdn.digitaloceanspaces.com/original/2X/3/3cab8f7d957336e5b3de80ef548ff86e6830c1b5.png)
SyntaxError: Cannot use import statement outside a module - Get Help and Help Others - RedwoodJS Community
![SyntaxError: Cannot use import statement outside a module - Get Help and Help Others - RedwoodJS Community SyntaxError: Cannot use import statement outside a module - Get Help and Help Others - RedwoodJS Community](https://rwjs-discourse.nyc3.cdn.digitaloceanspaces.com/original/2X/1/149343e1594a0ea886c26aafe52aacc293c461a9.png)