Helper type to extract values from a StoreMap. Transforms a map of stores into a map of their inner values.
StoreMap to extract values from
const myStore = createStore({ value: "Hello" });const myStoreMap: StoreMap<{ myStore: string }> = { myStore };const myValues: StoreValues<typeof myStoreMap> = { myStore: "Hello" }; Copy
const myStore = createStore({ value: "Hello" });const myStoreMap: StoreMap<{ myStore: string }> = { myStore };const myValues: StoreValues<typeof myStoreMap> = { myStore: "Hello" };
Helper type to extract values from a StoreMap. Transforms a map of stores into a map of their inner values.