Patch Changes
-
#4890
6d92b7770
Thanks @davidkpiano! - Thecontext
type forcreateStoreWithProducer(producer, context, transitions)
will now be properly inferred.const store = createStoreWithProducer( produce, { count: 0 }, { // ... } ); store.getSnapshot().context; // BEFORE: StoreContext // NOW: { count: number }