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

Upstreaming of bf63336f60
This commit is contained in:
Samuel Attard 2023-11-22 09:39:36 -08:00 committed by GitHub
parent e78ce82641
commit 44e055a788
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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