mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-31 18:54:28 +00:00
updates as discussed
This commit is contained in:
4
github-electron/github-electron.d.ts
vendored
4
github-electron/github-electron.d.ts
vendored
@@ -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