From: Eduardo San Martin Morote Date: Thu, 19 Aug 2021 11:05:31 +0000 (+0200) Subject: docs: improve dispose comment X-Git-Tag: @pinia/nuxt@0.0.1~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d0e659e15dd199770e536edab8d523056cda19f2;p=thirdparty%2Fvuejs%2Fpinia.git docs: improve dispose comment --- diff --git a/packages/pinia/src/types.ts b/packages/pinia/src/types.ts index afc1872b..1eb8b2a8 100644 --- a/packages/pinia/src/types.ts +++ b/packages/pinia/src/types.ts @@ -418,8 +418,7 @@ export interface StoreWithState< /** * Stops the associated effect scope of the store and remove it from the store * registry. Plugins can override this method to cleanup any added effects. - * e.g. devtools plugin remove its listeners and stops displaying it from - * devtools. + * e.g. devtools plugin stops displaying disposed stores from devtools. */ $dispose(): void }