You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Unexpected error on ESLint.
TS2695: Left side of comma operator is unused and has no side effects.
To Reproduce
Please create a reproduction by running npx sb@next repro and following the instructions. Read our documentation to learn more about creating reproductions.
Paste your repository and deployed reproduction here. We prioritize issues with reproductions over those without.
Simply install version 6.3.7 and create a story with Default.args such as this:
import{Meta}from'@storybook/react';importReactfrom'react';import{Radio,RadioProps}from'./Radio';importpagefrom'./Radio.docs.mdx';exportdefault{title: 'Components/Atoms/Radio',component: Radio,parameters: {docs: {
page,},},argTypes: {name: {control: 'text'},value: {control: 'text'},disabled: {control: 'boolean'},children: {control: 'text'},},}asMeta;exportconstDefault=({ name, value, disabled, children }: RadioProps)=>(<Radioname={name}value={value}disabled={disabled}>{children}</Radio>);Default.args={children: 'A label',value: 'a value',name: 'anInput',disabled: false,};
In version 6.3.1 this does not happen!
System
Please paste the results of npx sb@next info here.
We’re cleaning house! Storybook has changed a lot since this issue was created and we don’t know if it’s still valid. Please open a new issue referencing this one if:
Describe the bug
Unexpected error on ESLint.
TS2695: Left side of comma operator is unused and has no side effects.
To Reproduce
Please create a reproduction by running
npx sb@next repro
and following the instructions. Read our documentation to learn more about creating reproductions.Paste your repository and deployed reproduction here. We prioritize issues with reproductions over those without.
Simply install version 6.3.7 and create a story with
Default.args
such as this:In version 6.3.1 this does not happen!
System
Please paste the results of
npx sb@next info
here.Additional context
Apparently this was an issue on a previous version of storybook.
The text was updated successfully, but these errors were encountered: