Question:
I have the following interfaces which are very similar but have different property types:Answer:
You can abstract the common types to a base interface that is generic over the field type. While limiting the generic field type to onlyViewStyleWeb | ViewStyle
If you have better answer, please add a comment about this, thank you!