because voicingFullyEnabledProperty is a TReadOnlyProperty and the canAnnounceProperty API require TProperty, Using a TReadOnlyProperty works and it doesn't look like the Properties of canAnnounceProperties need to be settable. Id like to broaden the API.
In https://github.com/phetsims/friction/issues/314 I wasn't allowed to do this
because
voicingFullyEnabledProperty
is aTReadOnlyProperty
and thecanAnnounceProperty
API requireTProperty
, Using a TReadOnlyProperty works and it doesn't look like the Properties ofcanAnnounceProperties
need to be settable. Id like to broaden the API.