I've encountered a problem with typescript. schematically, I have :
parent abstract class A.
child class B.
child class C.
export abstract class BasePage { public value = 1; } @Component({...}) // selector, template ... export class A extends BasePage{ constructor(){} editValue(){ this.value = 3; } } @Component({...}) // selector, template ... export class B extends BasePage{ constructor(){} }<!-- B template --> <p> Parent abstract value : {{ value }}<!-- still remain 1 --> </p>
In parent class A, I have the property "value" which is used in both child classes. But it doesn't refresh in the B class when I launch editValue() in A class simultaneously.
