]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: typos [skip ci]
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 26 Jun 2024 12:49:37 +0000 (14:49 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 26 Jun 2024 12:49:44 +0000 (14:49 +0200)
packages/pinia/src/mapHelpers.ts

index 5b6ecd9ab3f45574f34d9b51d84812dffe08f2d1..3c1a99af2b5fb38fa7f00979178ca6231b1fea8b 100644 (file)
@@ -325,11 +325,11 @@ export type _MapActionsObjectReturn<A, T extends Record<string, keyof A>> = {
  *   methods: {
  *     // other methods properties
  *     // useCounterStore has two actions named `increment` and `setCount`
- *     ...mapActions(useCounterStore, { moar: 'increment', setIt: 'setCount' })
+ *     ...mapActions(useCounterStore, { more: 'increment', setIt: 'setCount' })
  *   },
  *
  *   created() {
- *     this.moar()
+ *     this.more()
  *     this.setIt(2)
  *   }
  * }