]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
style: lint
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 26 Jun 2023 08:44:31 +0000 (10:44 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 26 Jun 2023 08:44:31 +0000 (10:44 +0200)
packages/pinia/src/types.ts

index dbdfb098e3caf537bc23f9bbca2b842f9ac9ed87..073dfd9969c8b0790ac799b37955133739a341e5 100644 (file)
@@ -337,7 +337,7 @@ export interface _StoreWithState<
    * Sets or arrays and applying an object patch isn't practical, e.g. appending
    * to an array. The function passed to `$patch()` **must be synchronous**.
    *
-   * @param stateMutator - function that mutates `state`, cannot be asynchronous 
+   * @param stateMutator - function that mutates `state`, cannot be asynchronous
    */
   $patch<F extends (state: UnwrapRef<S>) => any>(
     // this prevents the user from using `async` which isn't allowed