Skip to content

Commit 1fbf9cd

Browse files
PhouvanhKCSVktsn
authored andcommitted
Missing ... (spread operator) (#438)
add ... (spread operator) on map a getter to a different name section.
1 parent 499895b commit 1fbf9cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/getters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default {
8585
If you want to map a getter to a different name, use an object:
8686

8787
``` js
88-
mapGetters({
88+
...mapGetters({
8989
// map this.doneCount to store.getters.doneTodosCount
9090
doneCount: 'doneTodosCount'
9191
})

0 commit comments

Comments
 (0)