diff --git a/packages/pinia/src/store.ts b/packages/pinia/src/store.ts index 76c1bc77b1..617645c152 100644 --- a/packages/pinia/src/store.ts +++ b/packages/pinia/src/store.ts @@ -841,6 +841,8 @@ export function defineStore< * Creates a `useStore` function that retrieves the store instance * * @param options - options to define the store + * + * @deprecated use `defineStore(id, options)` instead */ export function defineStore< Id extends string,