mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
remote require could resolve to strings/numbers not just objects
This commit is contained in:
committed by
Zeke Sikelianos
parent
aeefee7348
commit
494afec01d
@@ -140,7 +140,7 @@ The `remote` module has the following methods:
|
||||
|
||||
* `module` String
|
||||
|
||||
Returns `Object` - The object returned by `require(module)` in the main process.
|
||||
Returns `any` - The object returned by `require(module)` in the main process.
|
||||
|
||||
### `remote.getCurrentWindow()`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user