Update PrimeVue.d.ts

usePrimeVue ts declaration is wrong : PrimeVueConfiguration must be under config
pull/1333/head
Dominique BILLET 2021-06-09 12:57:48 +02:00 committed by GitHub
parent be277adc75
commit 482c4f9529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ interface PrimeVueLocaleOptions {
emptyMessage?: string; emptyMessage?: string;
} }
export declare function usePrimeVue(): PrimeVueConfiguration; export declare function usePrimeVue(): { config: PrimeVueConfiguration };
declare const plugin: Plugin; declare const plugin: Plugin;
export default plugin; export default plugin;
@ -61,4 +61,4 @@ declare module 'vue/types/vue' {
config: PrimeVueConfiguration; config: PrimeVueConfiguration;
} }
} }
} }