Skip to content

Commit 6f0f3fd

Browse files
authored
fix(types): adjust typing of BvComponent and BvPlugin (closes #3390) (#3391)
1 parent fae3d25 commit 6f0f3fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ export interface BvConfigOptions {
1212
}
1313

1414
// Plugin definition
15-
export interface BvPlugin extends PluginObject {
15+
export interface BvPlugin extends PluginObject<BvConfigOptions> {
1616
install: PluginFunction<BvConfigOptions>
1717
}
1818

1919
// Component base definition
20-
export interface BvComponent extends Vue {
20+
export class BvComponent extends Vue {
2121
// Simple catch-all to allow any prop/type
2222
[key: string]: any
2323
}

0 commit comments

Comments
 (0)