remote require could resolve to strings/numbers not just objects

This commit is contained in:
Samuel Attard 2016-11-08 16:32:40 +11:00 committed by Zeke Sikelianos
parent aeefee7348
commit 494afec01d

View file

@ -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()`