mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-21 11:09:53 +08:00
updates as discussed
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user