useAbility.ts 165 Bytes BlameHistoryPermalink Edit 1 2 3 4 import { useAbility as useCaslAbility } from '@casl/vue' import type { ability } from '../ability' export const useAbility = () => useCaslAbility<typeof ability>()