Skip to content

Commit

Permalink
doc: escape pipe in table (TypeStrong#1201)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyosukeFukushima authored Oct 22, 2020
1 parent 0b4a86d commit f99c7c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,12 +496,12 @@ of your code.
#### appendTsSuffixTo
| Type | Default Value |
|------|--------------|
| `(RegExp | string)[]` | `[]`|
| `(RegExp \| string)[]` | `[]`|

#### appendTsxSuffixTo
| Type | Default Value |
|------|--------------|
| `(RegExp | string)[]` | `[]`|
| `(RegExp \| string)[]` | `[]`|

A list of regular expressions to be matched against filename. If filename matches one of the regular expressions, a `.ts` or `.tsx` suffix will be appended to that filename.
If you're using [HappyPack](https://github.com/amireh/happypack) or [thread-loader](https://github.com/webpack-contrib/thread-loader) with `ts-loader`, you need use the `string` type for the regular expressions, not `RegExp` object.
Expand Down

0 comments on commit f99c7c4

Please sign in to comment.