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 254eec7 commit a31fb87Copy full SHA for a31fb87
packages/pinia/src/store.ts
@@ -872,8 +872,8 @@ export function defineStore<Id extends string, SS>(
872
_ExtractGettersFromSetupStore<SS>,
873
_ExtractActionsFromSetupStore<SS>
874
>
875
-// improves tree shaking
876
-/*#__NO_SIDE_EFFECTS__*/
+// allows unused stores to be tree shaken
+/*! #__NO_SIDE_EFFECTS__ */
877
export function defineStore(
878
// TODO: add proper types from above
879
idOrOptions: any,
0 commit comments