We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This may well be user error, but I'm seeing error messages appear only in SublimeText such as:
Module '"/home/ian/src/monorep/node_modules/@types/react/index"' can only be default-imported using the 'allowSyntheticDefaultImports' flag
The code itself is relatively straight forward:
import React from 'react'; import { Button } from '.'; export default { title: 'Button', argTypes: { onClick: { action: 'clicked' } }, }; const Template = (args) => <Button onClick={args.onClick} />; export const Default = Template.bind({});
The same code is fine within VSCode and does not show an issue.
You can see the file here https://github.com/IPWright83/monorep/blob/ts-bug/packages/components/src/components/Button/Button.stories.tsx You can access a reproduction by cloning https://github.com/IPWright83/monorep and switching to the ts-bug branch and opening that file.
ts-bug
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This may well be user error, but I'm seeing error messages appear only in SublimeText such as:
The code itself is relatively straight forward:
The same code is fine within VSCode and does not show an issue.
You can see the file here https://github.com/IPWright83/monorep/blob/ts-bug/packages/components/src/components/Button/Button.stories.tsx
You can access a reproduction by cloning https://github.com/IPWright83/monorep and switching to the
ts-bug
branch and opening that file.The text was updated successfully, but these errors were encountered: