I want to add local variable in Angular but error occur “type ‘string null’ is not assignable to type ‘string’. typescript”

This is an image what exactly, i am facing the problem “type ‘string null’ is not assignable to type ‘string’. typescript”