]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: fix typo in `PiniaPluginContext` (#1244)
authorlazzzis <lazzzis@outlook.com>
Fri, 22 Apr 2022 11:05:15 +0000 (04:05 -0700)
committerGitHub <noreply@github.com>
Fri, 22 Apr 2022 11:05:15 +0000 (13:05 +0200)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
packages/docs/api/interfaces/pinia.PiniaPluginContext.md
packages/pinia/src/rootStore.ts

index 9883731b877096183043199357dd3ae5cf7973a9..671a855379ca3bcb041f82a32f039cb1ffc4f6be 100644 (file)
@@ -39,7 +39,7 @@ ___
 
 • **options**: [`DefineStoreOptionsInPlugin`](pinia.DefineStoreOptionsInPlugin.md)<`Id`, `S`, `G`, `A`\>
 
-Current store being extended.
+Options object defining the store passed to `defineStore()`.
 
 #### Defined in
 
index 833566dd18396c3233d697ed11effdc8fbf0a030..0509a5c8eb4e5f4f1f49f7292c69f4b4e2463855 100644 (file)
@@ -122,7 +122,7 @@ export interface PiniaPluginContext<
   store: Store<Id, S, G, A>
 
   /**
-   * Current store being extended.
+   * Initial options defining the store when calling `defineStore()`.
    */
   options: DefineStoreOptionsInPlugin<Id, S, G, A>
 }