remote require could resolve to strings/numbers not just objects
This commit is contained in:
parent
aeefee7348
commit
494afec01d
1 changed files with 1 additions and 1 deletions
|
@ -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()`
|
||||
|
||||
|
|
Loading…
Reference in a new issue