refactor: convert more files to typescript (#16820)
This commit is contained in:
		
					parent
					
						
							
								cfbdc40814
							
						
					
				
			
			
				commit
				
					
						01c442de64
					
				
			
		
					 16 changed files with 169 additions and 90 deletions
				
			
		| 
						 | 
				
			
			@ -14,7 +14,7 @@ See [`Menu`](menu.md) for examples.
 | 
			
		|||
    * `menuItem` MenuItem
 | 
			
		||||
    * `browserWindow` [BrowserWindow](browser-window.md)
 | 
			
		||||
    * `event` Event
 | 
			
		||||
  * `role` String (optional) - Can be `undo`, `redo`, `cut`, `copy`, `paste`, `pasteandmatchstyle`, `delete`, `selectall`, `reload`, `forcereload`, `toggledevtools`, `resetzoom`, `zoomin`, `zoomout`, `togglefullscreen`, `window`, `minimize`, `close`, `help`, `about`, `services`, `hide`, `hideothers`, `unhide`, `quit`, `startspeaking`, `stopspeaking`, `close`, `minimize`, `zoom` or `front` - Define the action of the menu item, when specified the
 | 
			
		||||
  * `role` String (optional) - Can be `undo`, `redo`, `cut`, `copy`, `paste`, `pasteandmatchstyle`, `delete`, `selectall`, `reload`, `forcereload`, `toggledevtools`, `resetzoom`, `zoomin`, `zoomout`, `togglefullscreen`, `window`, `minimize`, `close`, `help`, `about`, `services`, `hide`, `hideothers`, `unhide`, `quit`, `startspeaking`, `stopspeaking`, `close`, `minimize`, `zoom`, `front`, `appMenu`, `fileMenu`, `editMenu`, `viewMenu` or `windowMenu` - Define the action of the menu item, when specified the
 | 
			
		||||
    `click` property will be ignored. See [roles](#roles).
 | 
			
		||||
  * `type` String (optional) - Can be `normal`, `separator`, `submenu`, `checkbox` or
 | 
			
		||||
    `radio`.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue