Property 'form' has no initializer and is not definitely assigned in the constructor. code example

Example 1: Property 'products' has no initializer and is not definitely assigned in the constructor.

//inside tsconfig.json file
"angularCompilerOptions": {
    //   ...
    "strictPropertyInitialization": false
    //   ...
  }

Example 2: Property 'form' has no initializer and is not definitely assigned in the constructor.

"strictPropertyInitialization": false

Example 3: roperty 'form' has no initializer and is not definitely assigned in the constructor.

It's better to add the ! postfix operator to the variable name, to just ignore this case, or initialize the variable inside the constructor.