mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
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:
committed by
GitHub
parent
78c66f16d6
commit
55c201eb21
@@ -52,7 +52,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import ElMenu from 'element-ui/lib/menu';
|
||||
import { Menu as ElMenu } from 'element-ui';
|
||||
import N8nMenuItem from '../N8nMenuItem';
|
||||
|
||||
import Vue, { PropType } from 'vue';
|
||||
@@ -61,7 +61,7 @@ import { IMenuItem } from '../../types';
|
||||
export default Vue.extend({
|
||||
name: 'n8n-menu',
|
||||
components: {
|
||||
ElMenu, // eslint-disable-line @typescript-eslint/no-unsafe-assignment
|
||||
ElMenu,
|
||||
N8nMenuItem,
|
||||
},
|
||||
data() {
|
||||
|
||||
Reference in New Issue
Block a user