It seems to me that the property is undefined when you tried to initialize the property of an object at the start in the constructor. That happens in the template for example if I do not do this
Object? .firstname = 'a';
He tells me that firstname is indefinite. How do I do this in the typescript din tell me this