According to the documentation (and functionally in practice), computed properties should be accessed as similarly to a getter when used outside of the template:
this.computedProperty.value
however typescript throws an error:
Property 'value' does not exist on type '() =>...
which looks like it's expecting computedProperty to be invoked:
this.computedProperty().value
it's more of an annoying type issue than anything else, everything seems to function as expected
According to the documentation (and functionally in practice), computed properties should be accessed as similarly to a getter when used outside of the template:
however typescript throws an error:
which looks like it's expecting
computedPropertyto be invoked:it's more of an annoying type issue than anything else, everything seems to function as expected