github-electron: Add missing menu item option 'role'

This commit is contained in:
rhysd
2015-12-04 09:57:43 +09:00
parent 78d36dd49b
commit 3b74f5ae2c
2 changed files with 38 additions and 1 deletions

View File

@@ -880,6 +880,10 @@ declare module GitHubElectron {
* a given menu.
*/
position?: string;
/**
* Define the action of the menu item, when specified the click property will be ignored
*/
role?: string;
}
class BrowserWindowProxy {