mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-30 21:59:46 +02:00
add onQuickAskText type to ElectronAPI
This commit is contained in:
parent
45e9113522
commit
032ccd9541
1 changed files with 1 additions and 0 deletions
1
surfsense_web/types/window.d.ts
vendored
1
surfsense_web/types/window.d.ts
vendored
|
|
@ -10,6 +10,7 @@ interface ElectronAPI {
|
||||||
openExternal: (url: string) => void;
|
openExternal: (url: string) => void;
|
||||||
getAppVersion: () => Promise<string>;
|
getAppVersion: () => Promise<string>;
|
||||||
onDeepLink: (callback: (url: string) => void) => () => void;
|
onDeepLink: (callback: (url: string) => void) => () => void;
|
||||||
|
onQuickAskText: (callback: (text: string) => void) => () => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue