소스 검색

fix a little typo in the comment (#1904)

Jason Pang 4 년 전
부모
커밋
5ca67a72d0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/helpers.js

+ 1 - 1
src/helpers.js

@@ -36,7 +36,7 @@ export const mapState = normalizeNamespace((namespace, states) => {
 /**
  * Reduce the code which written in Vue.js for committing the mutation
  * @param {String} [namespace] - Module's namespace
- * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept anthor params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.
+ * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.
  * @return {Object}
  */
 export const mapMutations = normalizeNamespace((namespace, mutations) => {