Skip to content

Commit f99c7c4

Browse files
doc: escape pipe in table (#1201)
1 parent 0b4a86d commit f99c7c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,12 +496,12 @@ of your code.
496496
#### appendTsSuffixTo
497497
| Type | Default Value |
498498
|------|--------------|
499-
| `(RegExp | string)[]` | `[]`|
499+
| `(RegExp \| string)[]` | `[]`|
500500

501501
#### appendTsxSuffixTo
502502
| Type | Default Value |
503503
|------|--------------|
504-
| `(RegExp | string)[]` | `[]`|
504+
| `(RegExp \| string)[]` | `[]`|
505505

506506
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.
507507
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.

0 commit comments

Comments
 (0)