How to fix Type alias 'X' circularly references itself in TypeScript | DevErrors