]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
fix(types): remove dependency on Vue 3 only Plugin type
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 3 Nov 2021 15:07:23 +0000 (16:07 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 3 Nov 2021 15:07:23 +0000 (16:07 +0100)
packages/pinia/src/rootStore.ts

index 4c96c81bed7df8372612b57ba2cb3b993407228e..e2be8960fb96ae58c04a0f8a65ddb091e7803603 100644 (file)
@@ -44,7 +44,7 @@ export const getActivePinia = () =>
  * Every application must own its own pinia to be able to create stores
  */
 export interface Pinia {
-  install: Exclude<Plugin['install'], undefined>
+  install: (app: App) => void
 
   /**
    * root state