CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1-dev (changelog, source)
Search

Predicate Vuex::commitLikeFunctionRef

Gets a node that refers to the commit or dispatch function of the store.

For our purposes, the (commit, mutations, mapMutations) properties behave in nearly the same way as (dispatch, actions, mapActions) so we model them together, with kind being either commit or dispatch.

Import path

import javascript
Node commitLikeFunctionRef(string kind, string prefix)