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.
defineStore
1 parent b90c595 commit 3069105Copy full SHA for 3069105
packages/pinia/src/store.ts
@@ -870,6 +870,8 @@ export function defineStore<Id extends string, SS>(
870
_ExtractGettersFromSetupStore<SS>,
871
_ExtractActionsFromSetupStore<SS>
872
>
873
+// improves tree shaking
874
+/*#__NO_SIDE_EFFECTS__*/
875
export function defineStore(
876
// TODO: add proper types from above
877
idOrOptions: any,
0 commit comments