From: Pascal Germain Date: Mon, 3 May 2021 19:52:52 +0000 (+0200) Subject: docs: typo (#469) X-Git-Tag: v2.0.0-alpha.16~5 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=37bfeca176a4e248964bbc761a577e641606e244;p=thirdparty%2Fvuejs%2Fpinia.git docs: typo (#469) --- diff --git a/docs/core-concepts/getters.md b/docs/core-concepts/getters.md index 235e166f..411d70f7 100644 --- a/docs/core-concepts/getters.md +++ b/docs/core-concepts/getters.md @@ -30,7 +30,7 @@ export const useStore = defineStore({ // the return type **must** be explicitly set doublePlusOne(): number { // autocompletion and typings for the whole store ✨ - return this.state * 2 + 1 + return this.counter * 2 + 1 }, }, })