import {Directive} from 'vue'
import {install, uninstall} from '@github/hotkey'
const directive: Directive = {
mounted(el, {value}) {
install(el, value)
},
beforeUnmount(el) {
uninstall(el)
}
export default directive