When you are using interfaces, can you also just add a property, which is not part of the initialized object, like you can do with JavaScript? For example, if you add the phone property, which is not part of any of the initalized objects, but made optional in the interface definition.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
When you are using interfaces, can you also just add a property, which is not part of the initialized object, like you can do with JavaScript? For example, if you add the phone property, which is not part of any of the initalized objects, but made optional in the interface definition.