Skip to content

Commit

Permalink
Update README about @storybook/react typescript part
Browse files Browse the repository at this point in the history
  • Loading branch information
CPatchane committed Dec 23, 2019
1 parent ca22a87 commit 7b712b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ This preset enables support for all Create React App features, including Sass/SC

## Typescript

If you are using Typescript, make sure you have the type definitions installed via `yarn add @types/node @types/react @types/storybook__react --dev`.
`@storybook/react` is now exporting its own types to use with Typescript.
You don't need to have `@types/storybook__react` installed anymore if it was your case.
But you probably also need to use types from `@types/node @types/react`.

## Docs

Expand Down

0 comments on commit 7b712b5

Please sign in to comment.