Shopify POS UI Extensions - Formatted Text Field - autoCapitalize Property

When I’am trying to use the ‘autoCapitalize’ property for the Formatted Text Field component, I’m getting an error "Invalid prop ‘autoCapitalize’ for component ‘_FormattedTextField’ ".

Shopify docs URL: Formatted Text Field Component - Properties

<FormattedTextField
    inputType='text'
    title='User Input'
    autoCapitalize={true} // <<< Throwing Error
/>

At the current time the documentation seems to provide the wrong type for the property.

Its actually a string:

export type AutoCapitalizationType =
| ‘none’
| ‘sentences’
| ‘words’
| ‘characters’;