Skip to content

Commit

Permalink
fix(types): adjust typing of BvComponent and BvPlugin (closes #3390) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorehouse authored May 27, 2019
1 parent fae3d25 commit 6f0f3fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ export interface BvConfigOptions {
}

// Plugin definition
export interface BvPlugin extends PluginObject {
export interface BvPlugin extends PluginObject<BvConfigOptions> {
install: PluginFunction<BvConfigOptions>
}

// Component base definition
export interface BvComponent extends Vue {
export class BvComponent extends Vue {
// Simple catch-all to allow any prop/type
[key: string]: any
}
Expand Down

0 comments on commit 6f0f3fd

Please sign in to comment.