From 37bfeca176a4e248964bbc761a577e641606e244 Mon Sep 17 00:00:00 2001 From: Pascal Germain Date: Mon, 3 May 2021 21:52:52 +0200 Subject: [PATCH] docs: typo (#469) --- docs/core-concepts/getters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }, }, }) -- 2.47.3