From: Eduardo San Martin Morote Date: Fri, 9 Apr 2021 17:08:17 +0000 (+0200) Subject: style: const X-Git-Tag: v0.3.1~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=762292608883a7ce8e29eccc5675fa3fc1dcb222;p=thirdparty%2Fvuejs%2Fpinia.git style: const --- diff --git a/src/store.ts b/src/store.ts index 3f935806..491d1e13 100644 --- a/src/store.ts +++ b/src/store.ts @@ -95,7 +95,7 @@ function initStore( // const state: Ref = toRef(_p.state.value, $id) let isListening = true - let subscriptions: SubscriptionCallback[] = [] + const subscriptions: SubscriptionCallback[] = [] function $patch(stateMutation: (state: S) => void): void function $patch(partialState: DeepPartial): void