From: Abhay Chauhan <60472462+abhay-111@users.noreply.github.com> Date: Sun, 25 Jun 2023 14:25:40 +0000 (+0530) Subject: docs: minor changes (#2273) X-Git-Tag: @pinia/testing@0.1.3~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f2f45a5389d42b1c0861e6f49628dce87e66b12;p=thirdparty%2Fvuejs%2Fpinia.git docs: minor changes (#2273) * Changed comments for better readability * Update packages/pinia/src/types.ts --------- Co-authored-by: Eduardo San Martin Morote --- diff --git a/packages/pinia/src/types.ts b/packages/pinia/src/types.ts index 568695d8..dbdfb098 100644 --- a/packages/pinia/src/types.ts +++ b/packages/pinia/src/types.ts @@ -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 async + * @param stateMutator - function that mutates `state`, cannot be asynchronous */ $patch) => any>( // this prevents the user from using `async` which isn't allowed