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

Upstreaming of bf63336f60

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>
This commit is contained in:
trop[bot]
2023-11-28 15:37:19 +01:00
committed by GitHub
parent 581fafb2e9
commit 9e1c116ff6

View File

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