]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: fix typos in types and documentation (#3080) v3
authorNitya Jain <nityaprofessional6402@gmail.com>
Fri, 5 Dec 2025 21:54:34 +0000 (03:24 +0530)
committerGitHub <noreply@github.com>
Fri, 5 Dec 2025 21:54:34 +0000 (22:54 +0100)
packages/docs/cookbook/testing.md
packages/docs/core-concepts/actions.md
packages/pinia/src/types.ts

index 1a78fdf0fff5f9ac087fc961464de7e88edcd493..8e5410cdd3b5f3181ac8c0d7550581723b084abb 100644 (file)
@@ -286,7 +286,7 @@ const store = mockedStore(useSomeStore)
 store.someAction.mockResolvedValue('some value')
 ```
 
-If you are interesting in learning more tricks like this, you should check out the Testing lessons on [Mastering Pinia](https://masteringpinia.com/lessons/exercise-mocking-stores-introduction).
+If you are interested in learning more tricks like this, you should check out the Testing lessons on [Mastering Pinia](https://masteringpinia.com/lessons/exercise-mocking-stores-introduction).
 
 ### Specifying the createSpy function
 
index a15b9218e0124fa0d3cd09c63f33fec8d9ae5e5b..a4b975a37310604bcb983323ed33cac842d99306 100644 (file)
@@ -192,7 +192,7 @@ const unsubscribe = someStore.$onAction(
     console.log(`Start "${name}" with params [${args.join(', ')}].`)
 
     // this will trigger if the action succeeds and after it has fully run.
-    // it waits for any returned promised
+    // it waits for any returned promise
     after((result) => {
       console.log(
         `Finished "${name}" after ${
index 97651e9922c0ec8ec1eb6657715e8bfb4e1cc1c2..0c99ecbcba67aa78a1d6581aef9e8ffd04353caa 100644 (file)
@@ -366,7 +366,7 @@ export interface _StoreWithState<
    * On top of these, it receives two functions that allow setting up a callback
    * once the action finishes or when it fails.
    *
-   * It also returns a function to remove the callback. Note than when calling
+   * It also returns a function to remove the callback. Note that when calling
    * `store.$onAction()` inside of a component, it will be automatically cleaned
    * up when the component gets unmounted unless `detached` is set to true.
    *