shims-ability.d.ts 214 Bytes
import { ability } from './ability';

declare module 'vue' {
  interface ComponentCustomProperties {
    $ability: typeof ability;
    $can(this: this, ...args: Parameters<this['$ability']['can']>): boolean;
  }
}