mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-12 01:02:39 +02:00
add replaceText type to ElectronAPI
This commit is contained in:
parent
f931b4cf9d
commit
6e74f462a2
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
|
|
@ -11,6 +11,7 @@ interface ElectronAPI {
|
||||||
getAppVersion: () => Promise<string>;
|
getAppVersion: () => Promise<string>;
|
||||||
onDeepLink: (callback: (url: string) => void) => () => void;
|
onDeepLink: (callback: (url: string) => void) => () => void;
|
||||||
getQuickAskText: () => Promise<string>;
|
getQuickAskText: () => Promise<string>;
|
||||||
|
replaceText: (text: string) => Promise<void>;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue