From d0e659e15dd199770e536edab8d523056cda19f2 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Thu, 19 Aug 2021 13:05:31 +0200 Subject: [PATCH] docs: improve dispose comment --- packages/pinia/src/types.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 } -- 2.47.3