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
I get it, Storybook is not meant to support TypeScript. I am ok with it. But it should support basics of TS. One of them is declare, all you have to do is ignore it wherever you find. I don't think it should be hard to implement.
To Reproduce
Steps to reproduce the behavior:
Just add the following and try to compile with Storybook,
@phated, ok!!! I am not sure about that, because I can use it in any file and it compiles just fine. But anyway, let that go. What do you think about entends? Where that should be used in your opinion?
Describe the bug
I get it, Storybook is not meant to support TypeScript. I am ok with it. But it should support basics of TS. One of them is
declare
, all you have to do is ignore it wherever you find. I don't think it should be hard to implement.To Reproduce
Steps to reproduce the behavior:
Just add the following and try to compile with Storybook,
Expected behavior
Just ignore wherever it finds
declare
Version
Storybook 6.1.17
"@storybook/addon-essentials": "^6.1.17",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.1.17",
"@storybook/addons": "^6.1.17",
"@storybook/preset-create-react-app": "3.1.5",
"@storybook/react": "^6.1.17",
The text was updated successfully, but these errors were encountered: