From c378781e0bc28fe94a6a9dcf050ad31609d9b608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Wed, 16 Aug 2023 22:40:57 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=80=E9=83=A8=E3=81=AE=E3=82=BF?= =?UTF-8?q?=E3=82=A4=E3=83=97=E5=AE=9A=E7=BE=A9=E3=82=92=E8=AA=8D=E8=AD=98?= =?UTF-8?q?=E3=81=A7=E3=81=8D=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20(MisskeyIO#148)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: riku6460 <17585784+riku6460@users.noreply.github.com> --- packages/backend/tsconfig.json | 3 ++- packages/frontend/tsconfig.json | 7 ++++--- packages/misskey-js/tsconfig.json | 2 +- packages/sw/tsconfig.json | 4 ++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/packages/backend/tsconfig.json b/packages/backend/tsconfig.json index 93944a68d5..9e24ec2433 100644 --- a/packages/backend/tsconfig.json +++ b/packages/backend/tsconfig.json @@ -33,8 +33,9 @@ "node" ], "typeRoots": [ + "./src/@types", "./node_modules/@types", - "./src/@types" + "./node_modules", ], "lib": [ "esnext" diff --git a/packages/frontend/tsconfig.json b/packages/frontend/tsconfig.json index 1dc5beb1a2..f9a0170611 100644 --- a/packages/frontend/tsconfig.json +++ b/packages/frontend/tsconfig.json @@ -26,9 +26,10 @@ "@/*": ["./src/*"] }, "typeRoots": [ - "node_modules/@types", - "node_modules/@vue-macros", - "@types" + "./@types", + "./node_modules/@types", + "./node_modules/@vue-macros", + "./node_modules", ], "types": [ "vite/client", diff --git a/packages/misskey-js/tsconfig.json b/packages/misskey-js/tsconfig.json index 24e5af4c40..6e2a8f95d7 100644 --- a/packages/misskey-js/tsconfig.json +++ b/packages/misskey-js/tsconfig.json @@ -16,7 +16,7 @@ "noImplicitReturns": true, "esModuleInterop": true, "typeRoots": [ - "node_modules/@types" + "./node_modules/@types" ], "lib": [ "esnext", diff --git a/packages/sw/tsconfig.json b/packages/sw/tsconfig.json index 96e47db961..c853d4bd47 100644 --- a/packages/sw/tsconfig.json +++ b/packages/sw/tsconfig.json @@ -24,8 +24,8 @@ "@/*": ["./src/*"] }, "typeRoots": [ - "node_modules/@types", - "@types" + "./node_modules/@types", + "./src/@types" ], "lib": [ "esnext",