Skip to content

Commit cd7e310

Browse files
FantasticFiascopi0
authored andcommitted
fix: default export in TypeScript definitions
1 parent 01e223c commit cd7e310

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/index.d.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
// Definitions by: Nicola Bosco <https://github.com/nicolabosco87>
44

55
declare module 'bootstrap-vue' {
6-
import Vue from 'vue';
6+
import Vue, { PluginFunction, PluginObject } from 'vue';
77

8-
const VuePlugin = {
9-
install: function(Vue: any): any;
8+
class BootstrapVue implements PluginObject<{}> {
9+
[key: string]: any;
10+
public install: PluginFunction<{}>;
1011
}
1112

13+
const VuePlugin: BootstrapVue;
14+
1215
export default VuePlugin;
1316

1417

0 commit comments

Comments
 (0)