diff --git a/packages/pinia/test-dts/mapHelpers.test-d.ts b/packages/pinia/test-dts/mapHelpers.test-d.ts index c6cdd7a84c..fbb5164101 100644 --- a/packages/pinia/test-dts/mapHelpers.test-d.ts +++ b/packages/pinia/test-dts/mapHelpers.test-d.ts @@ -116,7 +116,7 @@ expectType<{ } }>(mapWritableState(useOptionsStore, ['a'])) // @ts-expect-error: only defined in array -mapWritableState(useStore, ['a']).b +mapWritableState(useOptionsStore, ['a']).b expectType<{ newA: { @@ -126,9 +126,9 @@ expectType<{ }>(mapWritableState(useOptionsStore, { newA: 'a' })) // @ts-expect-error: cannot use a getter -mapWritableState(useStore, ['upper']) +mapWritableState(useOptionsStore, ['upper']) // @ts-expect-error: cannot use a getter -mapWritableState(useStore, { up: 'upper' }) +mapWritableState(useOptionsStore, { up: 'upper' }) const setupStoreWithState = mapState(useSetupStore, ['a'])