Problem
When running the following command npx madge --circular --extensions ts,tsx,js,jsx ./src in the respository directory, you can find all the circular dependencies going on.

These are mostly happening due to type definitions in incorrect places, and then, the importing of these types.
Possible Solution
Move these type definitions around, so that they are in a "export only" file or at least, don't cause this type of problem.
Problem
When running the following command
npx madge --circular --extensions ts,tsx,js,jsx ./srcin the respository directory, you can find all the circular dependencies going on.These are mostly happening due to type definitions in incorrect places, and then, the importing of these types.
Possible Solution
Move these type definitions around, so that they are in a "export only" file or at least, don't cause this type of problem.