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
Currently there are types like Claims or PropertyClaims. Just from looking at them its hard to know what they are exactly. (hint: Claims = Record<PropertyId, Claim[]> and PropertyClaims = Claim[])
Especially confusing with the Claims and PropertyClaims is the fact that only the first actually involves PropertyId while the second is what is behind a PropertyId.
Personally I would like to remove at least the types which are arrays of another type. Maybe also the Record<…, …> types. Specifying them explicitly at the given function / type improves readability about what to expect.
Any thoughts on this?
The text was updated successfully, but these errors were encountered:
Currently there are types like
Claims
orPropertyClaims
. Just from looking at them its hard to know what they are exactly. (hint:Claims = Record<PropertyId, Claim[]>
andPropertyClaims = Claim[]
)Especially confusing with the
Claims
andPropertyClaims
is the fact that only the first actually involvesPropertyId
while the second is what is behind aPropertyId
.Personally I would like to remove at least the types which are arrays of another type. Maybe also the
Record<…, …>
types. Specifying them explicitly at the given function / type improves readability about what to expect.Any thoughts on this?
The text was updated successfully, but these errors were encountered: