In redux-toolkit docs they suggest you to create the following definition to have proper types when you use useSelector hook:
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;
This will save you of having to type all the selectors with the root state.
However, when it's time to define memoized selector with createSelector there are no instructions about how to do a similar thing.
Is there any shortcut for this or I have to manually type every memoized selector?