From 40bbbe17dad0110660ac876ce151f45a17346aff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=8F=E5=B3=B6=20=E8=89=AF=E4=BB=8B?= Date: Thu, 22 Oct 2020 13:22:27 +0900 Subject: [PATCH] doc: escape pipe in table --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9fa44b9f6..e668de826 100644 --- a/README.md +++ b/README.md @@ -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.