mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
build: use typescript for internal Electron JS code (#16441)
This commit is contained in:
23
tsconfig.json
Normal file
23
tsconfig.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es2017",
|
||||
"lib": [
|
||||
"es2017",
|
||||
"dom",
|
||||
"dom.iterable"
|
||||
],
|
||||
"sourceMap": true,
|
||||
"experimentalDecorators": false,
|
||||
"strict": true,
|
||||
"baseUrl": ".",
|
||||
"allowJs": true,
|
||||
"outDir": "ts-gen",
|
||||
"paths": {
|
||||
"@electron-internal/*": ["lib"]
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"electron.d.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user