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