Skip to content
This repository was archived by the owner on Jul 21, 2024. It is now read-only.

Commit f0d7843

Browse files
authored
Update typings
1 parent 905f773 commit f0d7843

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

index.d.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ declare namespace contextMenu {
2424
@default 'Search with Google'
2525
*/
2626
readonly searchWithGoogle?: string;
27-
27+
28+
/**
29+
@default 'Search with DuckDuckGo'
30+
*/
31+
readonly searchWithDuckDuckGo?: string;
32+
2833
/**
2934
@default 'Cut'
3035
*/
@@ -115,6 +120,7 @@ declare namespace contextMenu {
115120
readonly learnSpelling: (options: ActionOptions) => MenuItemConstructorOptions;
116121
readonly lookUpSelection: (options: ActionOptions) => MenuItemConstructorOptions;
117122
readonly searchWithGoogle: (options: ActionOptions) => MenuItemConstructorOptions;
123+
readonly searchWithDuckDuckGo: (options: ActionOptions) => MenuItemConstructorOptions;
118124
readonly cut: (options: ActionOptions) => MenuItemConstructorOptions;
119125
readonly copy: (options: ActionOptions) => MenuItemConstructorOptions;
120126
readonly paste: (options: ActionOptions) => MenuItemConstructorOptions;
@@ -184,7 +190,12 @@ declare namespace contextMenu {
184190
@default true
185191
*/
186192
readonly showSearchWithGoogle?: boolean;
193+
/**
194+
Show the `Search with DuckDuckGo` menu item when right-clicking text.
187195
196+
@default false
197+
*/
198+
readonly showSearchWithDuckDuckGo?: boolean;
188199
/**
189200
Show the `Select All` menu item when right-clicking in a window.
190201

0 commit comments

Comments
 (0)