updates as discussed

This commit is contained in:
Benjamin Pasero
2016-01-07 08:45:52 +01:00
parent d885128900
commit 38fddea3d4
3 changed files with 19 additions and 18 deletions

View File

@@ -914,7 +914,7 @@ declare module Electron {
* Should be specified for submenu type menu item, when it's specified the
* type: 'submenu' can be omitted for the menu item
*/
submenu?: Menu;
submenu?: Menu|MenuItemOptions[];
/**
* Unique within a single menu. If defined then it can be used as a reference
* to this item by the position attribute.
@@ -1879,4 +1879,4 @@ declare module 'electron' {
interface NodeRequireFunction {
(moduleName: 'electron'): Electron.ElectronMainAndRenderer;
}
}