Typescript Error While Migrating From Angular 7 To

Typescript Error While Migrating From Angular 7 To