What are the restrictions on declarable classes?

Posted by Jessica Taylor | Updated on

Below classes shouldn’t be declared,

  1. A class that’s already declared in another NgModule
  2. Ngmodule classes
  3. Service classes
  4. Helper classes

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers