Browse Source

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

Upstreaming of https://github.com/discord/electron/commit/bf63336f6065e6654f4c315cab2b3c7921145173

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <[email protected]>
trop[bot] 1 year ago
parent
commit
9e1c116ff6
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/*"]
     }