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'
59
59
/**
60
60
* Changes the suffix added by `mapStores()`. Can be set to an empty string.
61
61
* Defaults to `"Store"`. Make sure to extend the MapStoresCustomization
62
- * interface if you need are using TypeScript.
62
+ * interface if you are using TypeScript.
63
63
*
64
64
* @param suffix - new suffix
65
65
*/
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ function createSetupStore<
239
239
let debuggerEvents : DebuggerEvent [ ] | DebuggerEvent
240
240
const initialState = pinia . state . value [ $id ] as UnwrapRef < S > | undefined
241
241
242
- // avoid setting the state for option stores are it is set
242
+ // avoid setting the state for option stores if it is set
243
243
// by the setup
244
244
if ( ! isOptionsStore && ! initialState && ( ! __DEV__ || ! hot ) ) {
245
245
/* istanbul ignore if */
@@ -304,7 +304,7 @@ function createSetupStore<
304
304
const $reset = __DEV__
305
305
? ( ) => {
306
306
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().`
308
308
)
309
309
}
310
310
: noop
Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ export interface _StoreWithState<
361
361
362
362
/**
363
363
* 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
365
365
* component gets unmounted unless `detached` is set to true.
366
366
*
367
367
* @param callback - callback passed to the watcher
You can’t perform that action at this time.
0 commit comments