From d8a2f544ff5c84000891badef8bd24c69807d922 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Thu, 28 Mar 2024 10:56:11 +0100 Subject: [PATCH] docs: comment api --- packages/pinia/src/createPinia.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/pinia/src/createPinia.ts b/packages/pinia/src/createPinia.ts index 33e3f448..eb7dc723 100644 --- a/packages/pinia/src/createPinia.ts +++ b/packages/pinia/src/createPinia.ts @@ -67,6 +67,7 @@ export function createPinia(): Pinia { /** * Dispose a Pinia instance by stopping its effectScope and removing the state, plugins and stores. This is mostly * useful in tests, with both a testing pinia or a regular pinia and in applications that use multiple pinia instances. + * Once disposed, the pinia instance cannot be used anymore. * * @param pinia - pinia instance */ -- 2.47.3