codemodscsf3help wantedmaintenance
描述
Describe the bug
The csf-2-to-3 codemod currently produces the following CSF3 code:
export default { .... } as Meta<typeof Foo>;
export const MyStory = { ... }
It should produce:
const meta: Meta<typeof Foo> = { ... };
export default meta;
type Story = StoryObj<typeof Foo>;
export const MyStory: Story = { ... }
Discussion: https://discord.com/channels/486522875931656193/1110567774033559663
To Reproduce
No response
System
No response
Additional context
No response