From: Levi Date: Sun, 31 Jul 2022 13:19:32 +0000 (+0800) Subject: docs: typo (#1499) X-Git-Tag: @pinia/nuxt@0.4.0~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e923a53f647fb167d0b0dc8d79b4f31088334a4;p=thirdparty%2Fvuejs%2Fpinia.git docs: typo (#1499) --- diff --git a/packages/pinia/src/types.ts b/packages/pinia/src/types.ts index bc8ec38e..6bbd36ef 100644 --- a/packages/pinia/src/types.ts +++ b/packages/pinia/src/types.ts @@ -208,7 +208,7 @@ export interface _StoreOnActionListenerContext< /** * Sets up a hook if the action fails. Return `false` to catch the error and - * stop it fro propagating. + * stop it from propagating. */ onError: (callback: (error: unknown) => void) => void }