You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To represent derived attributes in Typescript, we currently need to include a getand a set, otherwise the setting of the property via the constructor will fail with a warning that the class has only a getter. Of course, we don't want a setter because these attributes are derived. We should only have a getter which calls the corresponding function to return the correct data. This needs a better solution.
The text was updated successfully, but these errors were encountered:
To represent derived attributes in Typescript, we currently need to include a
get
and aset
, otherwise the setting of the property via the constructor will fail with a warning that the class has only a getter. Of course, we don't want a setter because these attributes are derived. We should only have a getter which calls the corresponding function to return the correct data. This needs a better solution.The text was updated successfully, but these errors were encountered: