From 44e055a788eb8e795dd890dc9d083ec1ede5eb27 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Wed, 22 Nov 2023 09:39:36 -0800 Subject: [PATCH] build: specify explicit typeroots for ts builds (#40588) Upstreaming of https://github.com/discord/electron/commit/bf63336f6065e6654f4c315cab2b3c7921145173 --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 0386154f71c1..9b5430538f89 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,6 +14,7 @@ "allowJs": true, "noUnusedLocals": true, "outDir": "ts-gen", + "typeRoots" : ["./node_modules/@types"], "paths": { "@electron/internal/*": ["lib/*"] }