Spread the love
A global file cannot be compiled using '--isolatedModules'. Ensure your file contains imports, exports, or an 'export {}' statement.

Means any (.tsx) file in your src folder (its sub-folders) cannot be blank or cannot just have simple functions without any export statement.