Merge pull request #1165 from zmwangx/config-fix-ts

Fix plugin type in config/PrimeVue.d.ts
pull/1088/head
Cagatay Civici 2021-04-14 16:01:56 +03:00 committed by GitHub
commit 2684f075f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import Vue, { PluginFunction } from 'vue'; import Vue, { Plugin } from 'vue';
interface PrimeVueConfiguration { interface PrimeVueConfiguration {
ripple?: boolean; ripple?: boolean;
@ -51,7 +51,8 @@ interface PrimeVueLocaleOptions {
export declare function usePrimeVue(): PrimeVueConfiguration; export declare function usePrimeVue(): PrimeVueConfiguration;
export const install: PluginFunction<{}>; declare const plugin: Plugin;
export default plugin;
declare module 'vue/types/vue' { declare module 'vue/types/vue' {
interface Vue { interface Vue {