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
but the Svelvet's Store interface is defined in the opposite way export interface Store<T, K>.
IMHO it generates disturbing usage and definitions such as:
I was surprised by the inversion of type and key in custom store of Svelvet.
We have many TS types such as:
Map<CustomEdgeKey, WritableEdge>
Record<string, Writable<unknown> | Readable<unknown>>
but the Svelvet's Store interface is defined in the opposite way
export interface Store<T, K>
.IMHO it generates disturbing usage and definitions such as:
where T, V is swapped to K, V.
I propose to use common K, V ordering.
The text was updated successfully, but these errors were encountered: