build: update to typescript 4 (#25091)

This commit is contained in:
Samuel Attard 2020-08-24 11:23:25 -07:00 committed by GitHub
parent 0efcaec4d6
commit 8baa9deccd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 72 additions and 80 deletions

View file

@ -165,13 +165,13 @@ if (nodeIntegration) {
// non context-isolated environment
if (!contextIsolation) {
process.once('loaded', function () {
delete global.process;
delete global.Buffer;
delete global.setImmediate;
delete global.clearImmediate;
delete global.global;
delete global.root;
delete global.GLOBAL;
delete (global as any).process;
delete (global as any).Buffer;
delete (global as any).setImmediate;
delete (global as any).clearImmediate;
delete (global as any).global;
delete (global as any).root;
delete (global as any).GLOBAL;
});
}
}