How to fix Project 'X' cannot reference itself in TypeScript | DevErrors