mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
9 lines
267 B
TypeScript
9 lines
267 B
TypeScript
// Captures original globals into a scope to ensure that userland modifications do
|
|
// not impact Electron. Note that users doing:
|
|
//
|
|
// global.Promise.resolve = myFn
|
|
//
|
|
// Will mutate this captured one as well and that is OK.
|
|
|
|
export const Promise = global.Promise;
|