chore: update to latest TypeScript 3.5.2 (#19133)

This commit is contained in:
Milan Burda 2019-07-09 13:44:46 +02:00 committed by Alexey Kuzmin
parent b32bee5d84
commit fdbb97e876
6 changed files with 1545 additions and 656 deletions

View file

@ -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) => {