I´am using getter to specify ScreenBase name because of localization. After upgrade to Typescript 4.x there is an error beacuse originally its name atributte specified as public member not a getter..
I suggest to change current
@observable name: string;
To something like this
@observable protected nameValue: string;
@computed
get name() {
return this.nameValue;
}
set name(name: string) {
this.nameValue = name;
}
Which should be fully compatible and more etensionible
I´am using getter to specify ScreenBase name because of localization. After upgrade to Typescript 4.x there is an error beacuse originally its
name
atributte specified as public member not a getter..I suggest to change current
To something like this
Which should be fully compatible and more etensionible