-
-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels