In my case I was builiding a monorepo and referencing one of the packages into another package.
All I had to do was remove composite: true from tsconfig.json and it worked.
In my case I was builiding a monorepo and referencing one of the packages into another package.
All I had to do was remove composite: true from tsconfig.json and it worked.