docs: fix return type of setJumpList() in electron.d.ts (#33910)
Before: ```ts setJumpList(categories: (JumpListCategory[]) | (null)): void; ``` After: ```ts setJumpList(categories: (JumpListCategory[]) | (null)): ('ok' | 'error' | 'invalidSeparatorError' | 'fileTypeRegistrationError' | 'customCategoryAccessDeniedError'); ``` Fixes: https://github.com/electron/electron/issues/33909 Signed-off-by: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
parent
15c931201a
commit
b5297ea8e2
1 changed files with 2 additions and 0 deletions
|
@ -864,6 +864,8 @@ Returns `Object`:
|
|||
|
||||
* `categories` [JumpListCategory[]](structures/jump-list-category.md) | `null` - Array of `JumpListCategory` objects.
|
||||
|
||||
Returns `string`
|
||||
|
||||
Sets or removes a custom Jump List for the application, and returns one of the
|
||||
following strings:
|
||||
|
||||
|
|
Loading…
Reference in a new issue