]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
test: fix dts
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 25 Oct 2021 08:14:02 +0000 (10:14 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 25 Oct 2021 08:14:02 +0000 (10:14 +0200)
packages/pinia/test-dts/customizations.test-d.ts

index 3990052e06dde7d5199110d99291e17391e68c94..bab6afe1544a9f9e3878363e8c7d3074166db765 100644 (file)
@@ -3,7 +3,7 @@ import {
   createPinia,
   defineStore,
   mapStores,
-  ActionsTree,
+  _ActionsTree,
   storeToRefs,
 } from './'
 import { App, ref, Ref } from 'vue'
@@ -38,7 +38,7 @@ declare module '../dist/pinia' {
 const pinia = createPinia()
 
 pinia.use((context) => {
-  expectType<ActionsTree>(context.options.actions)
+  expectType<_ActionsTree>(context.options.actions)
   expectType<string>(context.store.$id)
   expectType<App>(context.app)