How to fix Declaration merging failed for 'X' in TypeScript | DevErrors