mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: update to latest TypeScript 3.5.2 (#19133)
This commit is contained in:
committed by
Alexey Kuzmin
parent
b32bee5d84
commit
fdbb97e876
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user