From 482c4f95292a3299c84ba350213197d347f2c1b6 Mon Sep 17 00:00:00 2001 From: Dominique BILLET Date: Wed, 9 Jun 2021 12:57:48 +0200 Subject: [PATCH] Update PrimeVue.d.ts usePrimeVue ts declaration is wrong : PrimeVueConfiguration must be under config --- src/components/config/PrimeVue.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/config/PrimeVue.d.ts b/src/components/config/PrimeVue.d.ts index 94eb4cdc2..55d27aba0 100644 --- a/src/components/config/PrimeVue.d.ts +++ b/src/components/config/PrimeVue.d.ts @@ -50,7 +50,7 @@ interface PrimeVueLocaleOptions { emptyMessage?: string; } -export declare function usePrimeVue(): PrimeVueConfiguration; +export declare function usePrimeVue(): { config: PrimeVueConfiguration }; declare const plugin: Plugin; export default plugin; @@ -61,4 +61,4 @@ declare module 'vue/types/vue' { config: PrimeVueConfiguration; } } -} \ No newline at end of file +}