Skip to content

Commit

Permalink
Merge pull request #6105 from danielsogl/patch-3
Browse files Browse the repository at this point in the history
docs(configurations): fix markdown for react-typescript
  • Loading branch information
shilman committed Mar 15, 2019
1 parent 8c07e08 commit 97079c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/configurations/typescript-config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ module.exports = ({ config, mode }) => {

### `tsconfig.json`

The default `tsconfig.json` that comes with CRA works great. If your stories are outside the `src` folder, for example the `stories` folder in root, then `rootDirs": ["src", "stories"]` needs to be added to be added to `compilerOptions` so it knows what folders to compile. Make sure `jsx` is set to preserve. Should be unchanged.
The default `tsconfig.json` that comes with CRA works great. If your stories are outside the `src` folder, for example the `stories` folder in root, then `"rootDirs": ["src", "stories"]` needs to be added to be added to `compilerOptions` so it knows what folders to compile. Make sure `jsx` is set to preserve. Should be unchanged.

## Import tsx stories

Expand Down

0 comments on commit 97079c4

Please sign in to comment.