From 58ff6200923355f8d0dd128e2831ce5e053a7b89 Mon Sep 17 00:00:00 2001 From: Cesare Naldi Date: Thu, 12 Dec 2024 15:50:10 +0100 Subject: [PATCH] feat: setup VSCode to use correct TS version --- .vscode/settings.json | 4 +++- package.json | 1 + pnpm-lock.yaml | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index c9a7b9309..b7b1869ab 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -30,5 +30,7 @@ }, "editor.formatOnSave": true, "editor.suggest.insertMode": "replace" - } + }, + "typescript.tsdk": "node_modules/typescript/lib", + "typescript.enablePromptUseWorkspaceTsdk": true } diff --git a/package.json b/package.json index 0d8646eaf..4fc2bff6a 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "rimraf": "^6.0.1", "tsx": "^4.19.1", "turbo": "^2.2.3", + "typescript": "^5.6.3", "vite": "^5.4.9", "vite-tsconfig-paths": "^5.0.1", "vitest": "^2.1.3" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index de4a3057f..9af17225b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -32,6 +32,9 @@ importers: turbo: specifier: ^2.2.3 version: 2.2.3 + typescript: + specifier: ^5.6.3 + version: 5.6.3 vite: specifier: ^5.4.9 version: 5.4.11(@types/node@22.10.1)