Skip to content

Commit

Permalink
chore: unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Apr 2, 2024
1 parent c8f727a commit fca4fa6
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions packages/pinia/test-dts/customizations.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,28 +266,3 @@ expectType<{
})()
)
)

expectType<{
n: Ref<number>
customN: Ref<number> & { plusOne: () => void }
double: ComputedRef<number>
myState: Ref<number>
stateOnly: Ref<number>
}>(
storeToRefs(
defineStore('a', {
state: () => ({
n: 1,
customN: ref(1) as Ref<number> & { plusOne: () => void },
}),
getters: {
double: (state) => state.n * 2,
},
actions: {
plusOne() {
this.n++
},
},
})()
)
)

0 comments on commit fca4fa6

Please sign in to comment.