I have implemented a new class as shown below.
export class Configuration {
public details: string = "xyz";
}
Despite defining the class Configuration, I am facing issues when attempting to access the data field within it. The fields in which I attempt to store this value acknowledge the presence of the class Configuration, however, they do not recognize the details.
What modifications should I make to the class in order to make these settings accessible to other components?
I have explored using the @Output decorator, but since I will not be binding values, it may not be the most suitable solution. The class has been imported and acknowledged within the target component. Additionally, I have experimented with various exposures by embedding a function within the settings class, only to encounter the same unsuccessful outcome.