diff --git a/.vscode/settings.json b/.vscode/settings.json index f050132..3681dcc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,8 @@ { - "files.exclude": { - "node_modules/**": true, - ".idea/**": true, - } + "files.exclude": { + "node_modules/**": true, + ".idea/**": true + }, + "typescript.tsdk": "node_modules/typescript/lib", + "typescript.enablePromptUseWorkspaceTsdk": true } \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 6ef4fb1..8c59848 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -19,11 +19,17 @@ "jsx": "preserve", "incremental": true, "noImplicitAny": false, + "plugins": [ + { + "name": "next" + } + ] }, "include": [ "next-env.d.ts", "**/*.ts", - "**/*.tsx" + "**/*.tsx", + ".next/types/**/*.ts" ], "exclude": [ "node_modules"