Skip to content

Commit

Permalink
Remove mentions of @types/storybook__react (#8291)
Browse files Browse the repository at this point in the history
Remove mentions of @types/storybook__react
  • Loading branch information
shilman authored Oct 4, 2019
2 parents dc321d3 + ac2daf1 commit 9481e05
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docs/src/pages/configurations/typescript-config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ This is a central reference for using Storybook with TypeScript.
```bash
yarn add -D typescript
yarn add -D awesome-typescript-loader
yarn add -D @types/storybook__react # typings
yarn add -D @storybook/addon-info react-docgen-typescript-loader # optional but recommended
yarn add -D jest "@types/jest" ts-jest #testing
```
Expand Down Expand Up @@ -83,12 +82,6 @@ This is for the default configuration where `/stories` is a peer of `src`. If yo
When using latest create-react-app (CRA 3.0), Babel 7 has native TypeScript 3.5.0 support. Setup becomes easier.
For a full working demo (that also uses react-docgen-typescript-loader) you can check out this [repo](https://github.com/Luchanso/storybook-cra-ts-example).

### Dependencies you may need

```bash
yarn add -D @types/storybook__react # typings
```

### Setting up TypeScript to work with Storybook

We first have to use the [custom Webpack config in full control mode, extending default configs](/configurations/custom-webpack-config/#full-control-mode--default) by creating a `webpack.config.js` file in our Storybook configuration directory (by default, it’s `.storybook`):
Expand Down

0 comments on commit 9481e05

Please sign in to comment.