From c8d8ea44cfb2ccb3c450139225812f4531950add Mon Sep 17 00:00:00 2001 From: Joshua Hall Date: Mon, 7 Mar 2022 11:22:22 -0600 Subject: [PATCH] Add isolatedModules: true to every tsconfig.json https://vitejs.dev/guide/features.html#typescript-compiler-options --- ts-bootstrap/tsconfig.json | 3 ++- ts-minimal/tsconfig.json | 3 ++- ts-router/tsconfig.json | 3 ++- ts-sass/tsconfig.json | 3 ++- ts-tailwindcss/tsconfig.json | 3 ++- ts-unocss/tsconfig.json | 3 ++- ts-windicss/tsconfig.json | 3 ++- ts/tsconfig.json | 3 ++- 8 files changed, 16 insertions(+), 8 deletions(-) diff --git a/ts-bootstrap/tsconfig.json b/ts-bootstrap/tsconfig.json index e27ffb7..134e297 100644 --- a/ts-bootstrap/tsconfig.json +++ b/ts-bootstrap/tsconfig.json @@ -7,6 +7,7 @@ "esModuleInterop": true, "jsx": "preserve", "jsxImportSource": "solid-js", - "types": ["vite/client"] + "types": ["vite/client"], + "isolatedModules": true } } diff --git a/ts-minimal/tsconfig.json b/ts-minimal/tsconfig.json index e27ffb7..134e297 100644 --- a/ts-minimal/tsconfig.json +++ b/ts-minimal/tsconfig.json @@ -7,6 +7,7 @@ "esModuleInterop": true, "jsx": "preserve", "jsxImportSource": "solid-js", - "types": ["vite/client"] + "types": ["vite/client"], + "isolatedModules": true } } diff --git a/ts-router/tsconfig.json b/ts-router/tsconfig.json index e27ffb7..134e297 100644 --- a/ts-router/tsconfig.json +++ b/ts-router/tsconfig.json @@ -7,6 +7,7 @@ "esModuleInterop": true, "jsx": "preserve", "jsxImportSource": "solid-js", - "types": ["vite/client"] + "types": ["vite/client"], + "isolatedModules": true } } diff --git a/ts-sass/tsconfig.json b/ts-sass/tsconfig.json index e27ffb7..134e297 100644 --- a/ts-sass/tsconfig.json +++ b/ts-sass/tsconfig.json @@ -7,6 +7,7 @@ "esModuleInterop": true, "jsx": "preserve", "jsxImportSource": "solid-js", - "types": ["vite/client"] + "types": ["vite/client"], + "isolatedModules": true } } diff --git a/ts-tailwindcss/tsconfig.json b/ts-tailwindcss/tsconfig.json index e27ffb7..134e297 100644 --- a/ts-tailwindcss/tsconfig.json +++ b/ts-tailwindcss/tsconfig.json @@ -7,6 +7,7 @@ "esModuleInterop": true, "jsx": "preserve", "jsxImportSource": "solid-js", - "types": ["vite/client"] + "types": ["vite/client"], + "isolatedModules": true } } diff --git a/ts-unocss/tsconfig.json b/ts-unocss/tsconfig.json index e27ffb7..134e297 100644 --- a/ts-unocss/tsconfig.json +++ b/ts-unocss/tsconfig.json @@ -7,6 +7,7 @@ "esModuleInterop": true, "jsx": "preserve", "jsxImportSource": "solid-js", - "types": ["vite/client"] + "types": ["vite/client"], + "isolatedModules": true } } diff --git a/ts-windicss/tsconfig.json b/ts-windicss/tsconfig.json index 90086f7..5d2faf0 100644 --- a/ts-windicss/tsconfig.json +++ b/ts-windicss/tsconfig.json @@ -8,6 +8,7 @@ "jsx": "preserve", "jsxImportSource": "solid-js", "types": ["vite/client"], - "noEmit": true + "noEmit": true, + "isolatedModules": true } } diff --git a/ts/tsconfig.json b/ts/tsconfig.json index 0f2653b..e7aee91 100644 --- a/ts/tsconfig.json +++ b/ts/tsconfig.json @@ -8,6 +8,7 @@ "esModuleInterop": true, "jsx": "preserve", "jsxImportSource": "solid-js", - "types": ["vite/client"] + "types": ["vite/client"], + "isolatedModules": true } }