How to fix Merge of interface 'X' failed in TypeScript | DevErrors