We're rewriting Storybook in Typescript https://github.com/storybooks/storybook/issues/5030 which means we'll soon have native type support for every SB package. Let's also make it a one-liner to use Typescript with all of our supported view layers:
sb init --story-format=csf-tssb init if tsconfig.json existsReleased @storybook/preset-typescript and need to update docs.
hey @shilman! great work! it would be good to clarify if this applies for just components written in tsx or also for stories.
also outline when transpileManager is useful vs not
Or --language typescript per #7492
Ol茅!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.3.0-alpha.21 containing PR #8451 that references this issue. Upgrade today to try it out!
You can find this prerelease on the @next NPM tag.
Closing this issue. Please re-open if you think there's still more to do.
happy to close it! congrats on shipping
@sw-yx Thanks!!! still lots to do -- gonna make TS 馃憣 in Storybook! One step closer tho!!
WIP gist: Storybook Docs w/ CRA & TypeScript
We've just released zero-config typescript support in 6.0-beta. Please upgrade and test it!
Thanks for your help and support getting this stable for release!
Since typescript is being built in, closing this! 馃帀
nice work
Most helpful comment
nice work