Browse Source

build: specify explicit typeroots for ts builds (#40588)

Upstreaming of https://github.com/discord/electron/commit/bf63336f6065e6654f4c315cab2b3c7921145173
Samuel Attard 1 year ago
parent
commit
44e055a788
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tsconfig.json

+ 1 - 0
tsconfig.json

@@ -14,6 +14,7 @@
     "allowJs": true,
     "noUnusedLocals": true,
     "outDir": "ts-gen",
+    "typeRoots" : ["./node_modules/@types"],
     "paths": {
       "@electron/internal/*": ["lib/*"]
     }