Skip to content

Commit

Permalink
Missing ... (spread operator) (vuejs#438)
Browse files Browse the repository at this point in the history
add ... (spread operator) on map a getter to a different name section.
  • Loading branch information
PhouvanhKCSV authored and ktsn committed Nov 4, 2016
1 parent 499895b commit 1fbf9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/getters.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default {
If you want to map a getter to a different name, use an object:

``` js
mapGetters({
...mapGetters({
// map this.doneCount to store.getters.doneTodosCount
doneCount: 'doneTodosCount'
})
Expand Down

0 comments on commit 1fbf9cd

Please sign in to comment.