File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ expectType<{
116116 }
117117} > ( mapWritableState ( useOptionsStore , [ 'a' ] ) )
118118// @ts -expect-error: only defined in array
119- mapWritableState ( useStore , [ 'a' ] ) . b
119+ mapWritableState ( useOptionsStore , [ 'a' ] ) . b
120120
121121expectType < {
122122 newA : {
@@ -126,9 +126,9 @@ expectType<{
126126} > ( mapWritableState ( useOptionsStore , { newA : 'a' } ) )
127127
128128// @ts -expect-error: cannot use a getter
129- mapWritableState ( useStore , [ 'upper' ] )
129+ mapWritableState ( useOptionsStore , [ 'upper' ] )
130130// @ts -expect-error: cannot use a getter
131- mapWritableState ( useStore , { up : 'upper' } )
131+ mapWritableState ( useOptionsStore , { up : 'upper' } )
132132
133133const setupStoreWithState = mapState ( useSetupStore , [ 'a' ] )
134134
You can’t perform that action at this time.
0 commit comments