Skip to content

Commit db44cc4

Browse files
authored
Fix typo in storeSetup test (#1257)
1 parent d0b15fe commit db44cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pinia/test-dts/storeSetup.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const useSetupStore = defineStore('name', () => {
55
const count = ref(0)
66
const double = computed(() => count.value * 2)
77
const triple = computed({
8-
get: () => count.value * 2,
8+
get: () => count.value * 3,
99
set: (tripled) => {
1010
count.value = Math.round(tripled / 3)
1111
},

0 commit comments

Comments
 (0)