Skip to content
New issue

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

Create documentation section for using TypeScript with Storybook #3270

Closed
danielduan opened this issue Mar 23, 2018 · 7 comments
Closed

Create documentation section for using TypeScript with Storybook #3270

danielduan opened this issue Mar 23, 2018 · 7 comments

Comments

@danielduan
Copy link
Member

danielduan commented Mar 23, 2018

If you are creating a issue to track work to be completed, start here:

Work summary

There is a decent amount of config needed for TypeScript to work within Storybook. We should document the TS definitions, scripts, configs, etc. needed to get all the features working.

Where to start

A new page within /docs is probably the best way to go.

Acceptance criteria

Who to contact

I personally don't use TS but it is a widely requested topic within our GitHub issues.

@tsiq-swyx
Copy link
Contributor

tsiq-swyx commented Mar 23, 2018

i'll give this a crack next week

edit: am getting approval to do this on company time, gimme a few days

@igor-dv
Copy link
Member

igor-dv commented Mar 25, 2018

Probably it is time to add a label for TypeScript.

@estaub
Copy link

estaub commented Mar 30, 2018

@tsiq-swyx, Here's some grist:

*successfully: I'm on webpack 4, using the 4-compatible version of awesome-typescript-loader, which breaks on webpack 3, which is used in storybook 3. Everything (so far) works fine with storybook 4.0.0-alpha.1. I'd definitely include a webpack version caveat.

@tsiq-swyx
Copy link
Contributor

tsiq-swyx commented Mar 30, 2018 via email

@tsiq-swyx
Copy link
Contributor

Hi friends,

I am going to start work on this now. Appreciate the wait.

@tsiq-swyx
Copy link
Contributor

Going to document how to get it to look a bit nicer too like this:

image

@lukepighetti
Copy link

lukepighetti commented Oct 16, 2018

Any chance we can get a storybook installer that follows up https://github.com/Microsoft/TypeScript-React-Starter ? I'm not looking forward to setting up Storybook with my typescript react project the first time around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants