How to fix Default export of the module has or is using private name 'X' in TypeScript | DevErrors