Skip to content

Commit cdae0ee

Browse files
ndelangenshilman
authored andcommitted
Improve Typescript Configuration documentation page (#9617)
Improve Typescript Configuration documentation page
1 parent e57ff8d commit cdae0ee

File tree

1 file changed

+6
-4
lines changed
  • docs/src/pages/configurations/typescript-config

1 file changed

+6
-4
lines changed

docs/src/pages/configurations/typescript-config/index.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ This is a central reference for using Storybook with TypeScript.
77

88
## Typescript configuration presets
99

10-
The easiest way to write and configure your stories in TypeScript is by using [Storybook presets](../../presets/introduction).
10+
The fastest and easiest way to write and configure your stories in TypeScript is by using a Storybook preset.
1111

12-
If you're using Create React App (CRA) and have configured it to work with TS, you should use the [CRA preset](https://github.com/storybookjs/presets/tree/master/packages/preset-create-react-app), which configures Storybook to reuse CRA's TS handling.
12+
* If you're using Create React App (CRA) and have configured it to work with TS, you should use [`@storybook/preset-create-react-app`](https://github.com/storybookjs/presets/tree/master/packages/preset-create-react-app), which configures Storybook to reuse CRA's TS handling.
1313

14-
If you're not using CRA, the next best thing is to use the [Typescript preset](https://github.com/storybookjs/presets/tree/master/packages/preset-typescript), which configures `ts-loader` under the hood.
14+
* If you are not using CRA or have other requirements, then the next best option is [`@storybook/preset-typescript`](https://github.com/storybookjs/presets/tree/master/packages/preset-typescript), which configures `ts-loader` under the hood.
1515

16-
If you need more control than the TypeScript preset offers, read on for manual configuration instructions.
16+
If you need more control than these presets offer, read on for manual configuration instructions.
17+
18+
You can learn more about Storybook presets [over here](../../presets/introduction).
1719

1820
> If using TypeScript, some addons require features available in TS version 3.4+.
1921

0 commit comments

Comments
 (0)