Property 'src' does not exist on type 'HTMLElement' code example
Example: Property 'src' does not exist on type 'HTMLElement' angular
inside you `tsconfig.json` you can disable your strict check
"strict": false,
And also check if you are not missing any file or folder