mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Update docs to contain more specific return values
This commit is contained in:
committed by
Samuel Attard
parent
5114d571df
commit
e0e47ea9a1
@@ -252,7 +252,7 @@ for more information on macOS' native actions.
|
||||
|
||||
#### `Menu.buildFromTemplate(template)`
|
||||
|
||||
* `template` Array
|
||||
* `template` MenuItem[]
|
||||
|
||||
Generally, the `template` is just an array of `options` for constructing a
|
||||
[MenuItem](menu-item.md). The usage can be referenced above.
|
||||
|
||||
Reference in New Issue
Block a user