chore: update to latest TypeScript 3.5.2 (#19133)
This commit is contained in:
parent
b32bee5d84
commit
fdbb97e876
6 changed files with 1545 additions and 656 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue