fix: Lint typescript stories (no-changelog) (#4723)

* fix: Lint typescript stories (no-changelog)

* import StoryFn as type
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-11-25 13:00:59 +01:00
committed by GitHub
parent d8c2dffc37
commit 1821bb0699
28 changed files with 54 additions and 28 deletions

View File

@@ -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,