From f69950ccf07f58d1153b2c7f2e92f13221b4c1f4 Mon Sep 17 00:00:00 2001 From: Daniel Schlabach <31226559+dschlabach@users.noreply.github.com> Date: Thu, 5 Dec 2024 15:05:59 -0500 Subject: [PATCH] fix: update tsconfig.json to fix auto-imports in dev:watch mode (#1694) Co-authored-by: dschlabach --- playground/nextjs-app-router/tsconfig.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playground/nextjs-app-router/tsconfig.json b/playground/nextjs-app-router/tsconfig.json index 6a93624948..aac4918748 100644 --- a/playground/nextjs-app-router/tsconfig.json +++ b/playground/nextjs-app-router/tsconfig.json @@ -19,7 +19,9 @@ } ], "paths": { - "@/*": ["./*"] + "@/components/*": ["./components/*"], + "@/lib/*": ["./lib/*"], + "@/types/*": ["./types/*"] } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],