title: Creating reusable getters in vuex-module-decorators
body: <p>Faced such a problem using vuex-module-decorators. I wanted to create some parent module so child modules could be extended from it and inherit its actions and getters. But getters are not inherited.</p>
  
  <p>I tried it that way:</p>
  
  <p>My <code>parent-module.ts</code>:</p>
  
  <pre><code>import {Action, getModule, Module, Mutation, VuexModule} from 'vuex-module-decorators';
  
  export class ParentStore extends VuexModule {
      public get getterForInherit(): any {
          return someData
      }
  }
  </code></pre>
  
  <p>Child modules:
  <code>child-one.ts</code>:</p>
  
  <pre><code>import {Action, getModule, Module, Mutation, VuexModule} from 'vuex-module-decorators'
  import {ParentModule} from './parent-module';
  
  @Module({dynamic: true, store: Store, name: 'childOne', namespaced: true})
  class FirstChildModule extends ParentModule {
      public get SecondChildGetter(): number {
          return 1;
      }
  }
  
  export const FirstChildStore: ParentModule = getModule(FirstChildModule)
  
  </code></pre>
  
  <p><code>child-two.ts</code>:</p>
  
  <pre><code>import {Action, getModule, Module, Mutation, VuexModule} from 'vuex-module-decorators'
  import {ParentModule} from './parent-module';
  
  @Module({dynamic: true, store: Store, name: 'childTwo', namespaced: true})
  class SecondChildModule extends ParentModule {
      public get FirstChildGetter(): number {
          return 2;
      }
  }
  
  export const SecondChildStore: ParentModule = getModule(SecondChildModule)
  </code></pre>
  
  <p>But when I import those modules to components <code>getterForInherit</code> is not available. Is it possible to do it this way?</p>