Skip to content

Commit

Permalink
fix(vue): fixes ts declaration for abilitiesPlugin
Browse files Browse the repository at this point in the history
Fixes #92
  • Loading branch information
ascott18 authored and stalniy committed Jul 14, 2018
1 parent d0abd83 commit 7d8e9ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 Vue, { VueConstructor } from 'vue'
import { Ability } from '@casl/ability'

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

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

0 comments on commit 7d8e9ca

Please sign in to comment.