We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01e223c commit cd7e310Copy full SHA for cd7e310
src/index.d.ts
@@ -3,12 +3,15 @@
3
// Definitions by: Nicola Bosco <https://github.com/nicolabosco87>
4
5
declare module 'bootstrap-vue' {
6
- import Vue from 'vue';
+ import Vue, { PluginFunction, PluginObject } from 'vue';
7
8
- const VuePlugin = {
9
- install: function(Vue: any): any;
+ class BootstrapVue implements PluginObject<{}> {
+ [key: string]: any;
10
+ public install: PluginFunction<{}>;
11
}
12
13
+ const VuePlugin: BootstrapVue;
14
+
15
export default VuePlugin;
16
17
0 commit comments