fix lint.

This commit is contained in:
Miroslav Šedivý 2021-01-21 16:14:05 +01:00
parent e084e0c2d3
commit 0e3a58c519

View File

@ -1,4 +1,4 @@
import Vue from 'vue'; import Vue from 'vue'
import Neko from './component/main.vue' import Neko from './component/main.vue'
/** /**
@ -9,14 +9,14 @@ import Neko from './component/main.vue'
*/ */
const NekoElements = { const NekoElements = {
install(vue: typeof Vue): void { install(vue: typeof Vue): void {
vue.component('Neko', Neko); vue.component('Neko', Neko)
}, },
}; }
if (typeof window !== 'undefined' && window.Vue) { if (typeof window !== 'undefined' && window.Vue) {
// @ts-ignore // @ts-ignore
window.Vue.use(NekoElements, {}); window.Vue.use(NekoElements, {})
} }
export { Neko }; export { Neko }
export default NekoElements; export default NekoElements