title: Vuex | How to commit a global mutation in a module action?
body: <p>I have an action in a namespaced module and a global mutation (i.e. not in a module). I would like to be able to commit the global mutation inside the action.</p>
  
  <pre><code>// Global mutation
  export default {
    globalMutation (state, payload) {
      ...
    }
  }
  
  // Action in a namespaced module
  export default {
    namespaced: true,
  
    actions: {
      namespacedAction ({ commit, dispatch, state }, payload) {
        commit({ type: 'globalMutation' })
      }
    }
  }
  </code></pre>
  
  <p>When the namespaced action is dispatched, Vuex displays:</p>
  
  <pre><code>[vuex] unknown local mutation type: globalMutation, global type: module/globalMutation
  </code></pre>
  
  <p>Is there an option I can pass to the <code>commit</code> function to call this global mutation?</p>