зеркало из https://github.com/electron/electron.git
chore: update to latest TypeScript 3.5.2 (#19133)
This commit is contained in:
Родитель
b32bee5d84
Коммит
fdbb97e876
|
@ -24,7 +24,6 @@ template("typescript_build") {
|
|||
"//electron/yarn.lock",
|
||||
"//electron/typings/internal-ambient.d.ts",
|
||||
"//electron/typings/internal-electron.d.ts",
|
||||
"//electron/typings/internal-helpers.d.ts",
|
||||
]
|
||||
|
||||
type_roots = "node_modules/@types,typings"
|
||||
|
|
|
@ -20,7 +20,6 @@ template("webpack_build") {
|
|||
"//electron/yarn.lock",
|
||||
"//electron/typings/internal-ambient.d.ts",
|
||||
"//electron/typings/internal-electron.d.ts",
|
||||
"//electron/typings/internal-helpers.d.ts",
|
||||
] + invoker.inputs
|
||||
|
||||
args = [
|
||||
|
|
|
@ -325,7 +325,9 @@ exports.getGlobal = (name) => {
|
|||
}
|
||||
|
||||
// Get the process object in browser.
|
||||
exports.__defineGetter__('process', () => exports.getGlobal('process'))
|
||||
Object.defineProperty(exports, 'process', {
|
||||
get: () => exports.getGlobal('process')
|
||||
})
|
||||
|
||||
// Create a function that will return the specified value when called in browser.
|
||||
exports.createFunctionWithReturnValue = (returnValue) => {
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
"timers-browserify": "1.4.2",
|
||||
"ts-loader": "^6.0.2",
|
||||
"ts-node": "^6.0.3",
|
||||
"typescript": "~3.3.3333",
|
||||
"typescript": "^3.5.2",
|
||||
"webpack": "^4.32.2",
|
||||
"webpack-cli": "^3.3.2"
|
||||
},
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
declare type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
|
2192
yarn.lock
2192
yarn.lock
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче