]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: improve dispose comment
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 19 Aug 2021 11:05:31 +0000 (13:05 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 19 Aug 2021 11:05:31 +0000 (13:05 +0200)
packages/pinia/src/types.ts

index afc1872b274865cedab4043865d1cd8f6c126bfb..1eb8b2a8a1262a9c93515ab6cc8332371af109c8 100644 (file)
@@ -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
 }