I want to create a class to work with the data that the component will give me. I came to the conclusion that I want to create a base class, and several children in which there will be some functionality, how to implement it correctly in Angular and where to put these classes.
Perhaps this can be done through services, but in this case, how do I implement inheritance of methods and properties. But I think the service does not imply inheritance
So I decided what can be done through regular classes