refactor: Improve typings for element-ui imports (no-changelog) (#4678)

* convert all stories to typescript

* stricter typing for element-ui imports
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-11-25 10:51:51 +01:00
committed by GitHub
parent 78c66f16d6
commit 55c201eb21
53 changed files with 75 additions and 232 deletions

View File

@@ -1,11 +1,17 @@
import './font-awesome-icons';
import './storybook.scss';
import ElementUI from 'element-ui';
import lang from 'element-ui/lib/locale/lang/en';
import locale from 'element-ui/lib/locale';
import designSystemComponents from '../src/plugins/n8nComponents';
import Vue from 'vue';
Vue.use(ElementUI);
Vue.use(designSystemComponents);
locale.use(lang);
// https://github.com/storybookjs/storybook/issues/6153