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

[Bug]: Storybook sees arrow function properties as string properties #27131

Open
Samuel-Therrien-Beslogic opened this issue May 14, 2024 · 1 comment

Comments

@Samuel-Therrien-Beslogic

Describe the bug

Storybook sees arrow function properties as string properties

To Reproduce

Create a component with an arrow function

image

Create a stories with it

Observe that the input has Set string instead of Set object

image

System

Storybook Environment Info:

  System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
  Binaries:
    Node: 18.20.2 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.4.2 - C:\Program Files\nodejs\npm.CMD <----- active
  Browsers:
    Edge: Chromium (123.0.2420.97)
  npmPackages:
    eslint-plugin-storybook: ^0.8.0 => 0.8.0

Additional context

No response

@shilman
Copy link
Member

shilman commented May 19, 2024

cc @valentinpalkovic

@valentinpalkovic valentinpalkovic self-assigned this May 19, 2024
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