mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-17 05:02:23 +08:00
Make link to fork-ts-checker-webpack-plugin documentation point to v4
This commit is contained in:
parent
8366468dc9
commit
10bdbae4a7
@ -6,7 +6,7 @@ Storybook has built-in Typescript support, so your Typescript project should wor
|
||||
|
||||
### Default configuration
|
||||
|
||||
The base Typescript configuration uses [`babel-loader`](https://webpack.js.org/loaders/babel-loader/) for Typescript transpilation, and optionally [`fork-ts-checker-webpack-plugin`](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin) for checking.
|
||||
The base Typescript configuration uses [`babel-loader`](https://webpack.js.org/loaders/babel-loader/) for Typescript transpilation, and optionally [`fork-ts-checker-webpack-plugin`](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/v4.1.6/README.md#options) for checking.
|
||||
|
||||
Each framework uses the base configuration unless otherwise specified:
|
||||
|
||||
@ -30,9 +30,9 @@ The following code snippets shows the fields for you to use with TypeScript:
|
||||
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
| Field | Framework | Description | Type |
|
||||
| :------------------------------- | :-------- | :-------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------- |
|
||||
| **check** | All | Optionally run fork-ts-checker-webpack-plugin | boolean |
|
||||
| **checkOptions** | All | Options to pass to fork-ts-checker-webpack-plugin if it's enabled | [See docs](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin) |
|
||||
| **reactDocgen** | React | Which react docgen processor to run: `"react-docgen-typescript"`, `"react-docgen"`, `false` | string or false |
|
||||
| **reactDocgenTypescriptOptions** | React | Options to pass to react-docgen-typescript-plugin if react-docgen-typescript is enabled. | [See docs](https://github.com/hipstersmoothie/react-docgen-typescript-plugin) |
|
||||
| Field | Framework | Description | Type |
|
||||
| :------------------------------- | :-------- | :------------------------------------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------- |
|
||||
| **check** | All | Optionally run fork-ts-checker-webpack-plugin | boolean |
|
||||
| **checkOptions** | All | Options to pass to fork-ts-checker-webpack-plugin if it's enabled | [See docs](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/v4.1.6/README.md#options) |
|
||||
| **reactDocgen** | React | Which react docgen processor to run: `"react-docgen-typescript"`, `"react-docgen"`, `false` | string or false |
|
||||
| **reactDocgenTypescriptOptions** | React | Options to pass to react-docgen-typescript-plugin if react-docgen-typescript is enabled. | [See docs](https://github.com/hipstersmoothie/react-docgen-typescript-plugin) |
|
||||
|
Loading…
x
Reference in New Issue
Block a user