Hmm. Yeah, we show inferring RootState from the root reducer in our docs, but we normally show explicitly writing out slice reducer state types. Obviously you can infer that from the initial state, we just hadn't shown that specifically. Could probably throw a line into the docs mentioning that.
Hmm. Yeah, we show inferring
RootState
from the root reducer in our docs, but we normally show explicitly writing out slice reducer state types. Obviously you can infer that from the initial state, we just hadn't shown that specifically. Could probably throw a line into the docs mentioning that.FWIW, our TS docs are here: