I have an angular application in which, there is a service having 3 types of variables: simple boolean, behaviorSubject of type boolean and an Object with the property of ty