Skip to content

Commit

Permalink
fix(vue): fixes issue with wrong type definition for abilitiesPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
stalniy committed May 29, 2018
1 parent 5d4ce7f commit a7e2251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/casl-vue/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Vue from 'vue'
import { Ability } from '@casl/ability'

export function abilitiesPlugin(Vue: Vue, providedAbility?: Ability): void
export function abilitiesPlugin(Vue: typeof Vue, providedAbility?: Ability): void

declare module "vue/types/vue" {
interface Vue {
Expand Down

0 comments on commit a7e2251

Please sign in to comment.