mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix: Lint typescript stories (no-changelog) (#4723)
* fix: Lint typescript stories (no-changelog) * import StoryFn as type
This commit is contained in:
committed by
GitHub
parent
d8c2dffc37
commit
1821bb0699
@@ -1,5 +1,6 @@
|
||||
import N8nUserSelect from './UserSelect.vue';
|
||||
import { action } from '@storybook/addon-actions';
|
||||
import type { StoryFn } from '@storybook/vue';
|
||||
|
||||
export default {
|
||||
title: 'Modules/UserSelect',
|
||||
@@ -16,7 +17,7 @@ const methods = {
|
||||
onFocus: action('focus'),
|
||||
};
|
||||
|
||||
const Template = (args, { argTypes }) => ({
|
||||
const Template: StoryFn = (args, { argTypes }) => ({
|
||||
props: Object.keys(argTypes),
|
||||
components: {
|
||||
N8nUserSelect,
|
||||
|
||||
Reference in New Issue
Block a user