mirror of
https://github.com/electron/electron.git
synced 2026-02-19 03:14:51 -05:00
* build: drop @types/webpack-env in favor of webpack/module types Co-authored-by: David Sanders <dsanders11@ucsbalum.com> * chore: improve type when assigning to global.require Co-authored-by: David Sanders <dsanders11@ucsbalum.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
27 lines
553 B
JSON
27 lines
553 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"target": "es2020",
|
|
"lib": [
|
|
"es2022",
|
|
"dom",
|
|
"dom.iterable"
|
|
],
|
|
"sourceMap": true,
|
|
"experimentalDecorators": true,
|
|
"strict": true,
|
|
"baseUrl": ".",
|
|
"allowJs": true,
|
|
"noUnusedLocals": true,
|
|
"outDir": "ts-gen",
|
|
"typeRoots" : ["./node_modules/@types", "./spec/node_modules/@types"],
|
|
"paths": {
|
|
"@electron/internal/*": ["lib/*"],
|
|
"@node/*": ["../third_party/electron_node/*"]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"electron.d.ts"
|
|
],
|
|
}
|