feat: Replace this.$refs.refName as Vue with InstanceType<T> (no-changelog) (#6050)
* refactor: use InstanceType<T> for all this.$refs types * refactor: update refs type in N8nSelect * fix: remove inputRef non-null assertion Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com> * fix: remove non-null assertion --------- Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// @ts-nocheck
|
||||
|
||||
import Vue from 'vue';
|
||||
import Fragment from 'vue-fragment';
|
||||
import VueAgile from 'vue-agile';
|
||||
@@ -8,7 +6,7 @@ import 'regenerator-runtime/runtime';
|
||||
|
||||
import ElementUI from 'element-ui';
|
||||
import { Loading, MessageBox, Notification } from 'element-ui';
|
||||
import { designSystemComponents } from 'n8n-design-system';
|
||||
import { N8nPlugin } from 'n8n-design-system';
|
||||
import EnterpriseEdition from '@/components/EnterpriseEdition.ee.vue';
|
||||
import { useMessage } from '@/composables/useMessage';
|
||||
|
||||
@@ -16,7 +14,7 @@ Vue.use(Fragment.Plugin);
|
||||
Vue.use(VueAgile);
|
||||
|
||||
Vue.use(ElementUI);
|
||||
Vue.use(designSystemComponents);
|
||||
Vue.use(N8nPlugin);
|
||||
|
||||
Vue.component('enterprise-edition', EnterpriseEdition);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user