Skip to content

Commit fbdd57e

Browse files
committed
chore: fix type error in playground demo
1 parent c1fd013 commit fbdd57e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/playground/src/stores/demo-counter.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { defineStore, acceptHMRUpdate } from 'pinia'
22

33
const delay = (t: number) => new Promise((r) => setTimeout(r, t))
4+
// just to ignore the not used error
5+
delay(0)
46

57
export const useCounter = defineStore('demo-counter', {
68
state: () => ({

0 commit comments

Comments
 (0)