How to fix Namespace declaration must have a name in TypeScript | DevErrors