Description
🆒 Your use case
In project with many undepended pages I want to dynamically register and unregister modules based on my needs on global level. I want those modules to be accessible and typed from anywhere. I understand all risks of possible-undefined module to be typed.
Currently, I can achieve this behavior by passing non-registered modules to getAccessorType, but if I do register those modules using store.registerModule they does not appear in $accessor.
🆕 The solution you'd like
Allow to register/unregister modules on global level and registering non-exisiting modules in getAccessorType, but with separate parameter, which makes this module possible-undefined
🔍 Alternatives you've considered
Use "useAccessor" and deal with usage on local level only