Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the type of storyFn? #10010

Closed
baeharam opened this issue Mar 2, 2020 · 2 comments
Closed

What is the type of storyFn? #10010

baeharam opened this issue Mar 2, 2020 · 2 comments

Comments

@baeharam
Copy link

baeharam commented Mar 2, 2020

I'm using storybook with typescript, but I cannot find the type of storyFn function.
How can I write the type of this function? Is it just any type?

@baeharam
Copy link
Author

baeharam commented Mar 2, 2020

I found it from import { StoryFn } from '@storybook/addons';

@Hollister009
Copy link

I was able to pull it for JS-Doc:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants