From: Alan Wang Date: Fri, 4 Mar 2022 19:18:10 +0000 (-0500) Subject: docs: update plugins.md (#1116) X-Git-Tag: @pinia/testing@0.0.10~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1794a1433f27684b93de4bb47a9bd12564a4967a;p=thirdparty%2Fvuejs%2Fpinia.git docs: update plugins.md (#1116) --- diff --git a/packages/docs/core-concepts/plugins.md b/packages/docs/core-concepts/plugins.md index 25d89622..ea22a043 100644 --- a/packages/docs/core-concepts/plugins.md +++ b/packages/docs/core-concepts/plugins.md @@ -284,9 +284,9 @@ pinia.use(({ store }) => { store.hello = 'Hola' store.hello = ref('Hola') - store.number = Math.random() + store.simpleNumber = Math.random() // @ts-expect-error: we haven't typed this correctly - store.number = ref(Math.random()) + store.simpleNumber = ref(Math.random()) }) ```