Erro TS2531

// you should add this code below tsconfig.json
{
 ...
 "angularCompilerOptions": {
 "strictNullChecks": false,
 ...
 }
}
Anouar Fourti