We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64fbd46 commit d1858e8Copy full SHA for d1858e8
packages/pinia/src/store.ts
@@ -841,6 +841,8 @@ export function defineStore<
841
* Creates a `useStore` function that retrieves the store instance
842
*
843
* @param options - options to define the store
844
+ *
845
+ * @deprecated use `defineStore(id, options)` instead
846
*/
847
export function defineStore<
848
Id extends string,
0 commit comments