This module is declared with using ‘export =’, and can only be used with a default import when using the ‘esModuleInterop’ flag
Your code is perfectly fine. Fix When you make changes to tsconfig, sometimes you need to restart your IDE or Code Editor 🌹