In the next few exercises, we are going to implement some custom defineStore().
We will start with definePrivateState()
,
then do definePrivateStore()
, and defineReadonlyState()
functions. These exercises can feel particularly challenging if
done in TypeScript. Feel free to use some of the forbidden as any
, or @ts-ignore
to make the yellow/red lines go
away.