Question: is part of the declarations of 2 modules in angular?
Answer: 2 Answers. Error: Type ... is part of the declarations of 2 (or more) modules: The solution to this problem is pretty simple. If you need to use a component in more than one modules then add it to the exports array of the module that declared it.