Skip to content

Commit

Permalink
Merge pull request #1333 from Dodobibi/patch-1
Browse files Browse the repository at this point in the history
Wrong typescript declaration for usePrimeVue
  • Loading branch information
cagataycivici authored Jul 27, 2021
2 parents c86f5e0 + 482c4f9 commit 90b2e10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/config/PrimeVue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -61,4 +61,4 @@ declare module 'vue/types/vue' {
config: PrimeVueConfiguration;
}
}
}
}

0 comments on commit 90b2e10

Please sign in to comment.