From: Eduardo San Martin Morote Date: Wed, 3 Nov 2021 15:07:23 +0000 (+0100) Subject: fix(types): remove dependency on Vue 3 only Plugin type X-Git-Tag: @pinia/nuxt@0.1.1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee358a6428bf1f34e7c00415be56da9aecc739b0;p=thirdparty%2Fvuejs%2Fpinia.git fix(types): remove dependency on Vue 3 only Plugin type --- diff --git a/packages/pinia/src/rootStore.ts b/packages/pinia/src/rootStore.ts index 4c96c81b..e2be8960 100644 --- a/packages/pinia/src/rootStore.ts +++ b/packages/pinia/src/rootStore.ts @@ -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 + install: (app: App) => void /** * root state