0 votes
in Angular by
What are the possible errors with declarations?

1 Answer

0 votes
by

There are two common possible errors with declarations array,

  1. If you use a component without declaring it, Angular returns an error message.
  2. If you try to declare the same class in more than one module then compiler emits an error.
...