From: Eduardo San Martin Morote Date: Tue, 24 Jan 2023 13:03:38 +0000 (+0100) Subject: refactor: type improvement X-Git-Tag: @pinia/nuxt@0.4.7~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e14cf20355b2e2a5af5eed4e951ce90dfb9e15a6;p=thirdparty%2Fvuejs%2Fpinia.git refactor: type improvement --- diff --git a/packages/pinia/src/devtools/plugin.ts b/packages/pinia/src/devtools/plugin.ts index 83b32f53..b9388485 100644 --- a/packages/pinia/src/devtools/plugin.ts +++ b/packages/pinia/src/devtools/plugin.ts @@ -386,7 +386,7 @@ function addStoreToDevtools(app: DevtoolsApp, store: StoreGeneric) { store._customProperties.forEach((name) => { watch( - () => unref(store[name]), + () => unref(store[name]), (newValue, oldValue) => { api.notifyComponentUpdate() api.sendInspectorState(INSPECTOR_ID)