'Is there a way to make Circular Dependencies in Typescript as error rather than warning?

We have a big project. And constantly get circular dependencies and we need to keep fixing them.

Rather than try to get rid of warnings every time, I would rather have way not to get them at all.

Is there a flag to add or any other way to make only these warnings strict (error - fail when appearing)?

Checked the cli documentation, but couldn't find anything related.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source