From a9aed5bd55ef9ce0bb1981eebe6f6742b2565619 Mon Sep 17 00:00:00 2001 From: Ben Watkins Date: Fri, 22 Apr 2022 13:50:14 -0700 Subject: [PATCH] note use of typescript in readme `import/extensions` section --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d7b55ff51..8d38874b18 100644 --- a/README.md +++ b/README.md @@ -271,7 +271,10 @@ A list of file extensions that will be parsed as modules and inspected for `export`s. This defaults to `['.js']`, unless you are using the `react` shared config, -in which case it is specified as `['.js', '.jsx']`. +in which case it is specified as `['.js', '.jsx']`. Despite the default, +if you are using TypeScript (without the `plugin:import/typescript` config +described above) you must specify the new extensions (`.ts`, and also `.tsx` +if using React). ```js "settings": {