File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export let mapStoreSuffix = 'Store'
5959/**
6060 * Changes the suffix added by `mapStores()`. Can be set to an empty string.
6161 * Defaults to `"Store"`. Make sure to extend the MapStoresCustomization
62- * interface if you need are using TypeScript.
62+ * interface if you are using TypeScript.
6363 *
6464 * @param suffix - new suffix
6565 */
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ function createSetupStore<
239239 let debuggerEvents : DebuggerEvent [ ] | DebuggerEvent
240240 const initialState = pinia . state . value [ $id ] as UnwrapRef < S > | undefined
241241
242- // avoid setting the state for option stores are it is set
242+ // avoid setting the state for option stores if it is set
243243 // by the setup
244244 if ( ! isOptionsStore && ! initialState && ( ! __DEV__ || ! hot ) ) {
245245 /* istanbul ignore if */
@@ -304,7 +304,7 @@ function createSetupStore<
304304 const $reset = __DEV__
305305 ? ( ) => {
306306 throw new Error (
307- `🍍: Store "${ $id } " is build using the setup syntax and does not implement $reset().`
307+ `🍍: Store "${ $id } " is built using the setup syntax and does not implement $reset().`
308308 )
309309 }
310310 : noop
Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ export interface _StoreWithState<
361361
362362 /**
363363 * Setups a callback to be called whenever the state changes. It also returns a function to remove the callback. Note
364- * than when calling `store.$subscribe()` inside of a component, it will be automatically cleaned up when the
364+ * that when calling `store.$subscribe()` inside of a component, it will be automatically cleaned up when the
365365 * component gets unmounted unless `detached` is set to true.
366366 *
367367 * @param callback - callback passed to the watcher
You can’t perform that action at this time.
0 commit comments