diff --git a/pkg/lib/cockpit.d.ts b/pkg/lib/cockpit.d.ts index 1621e22f9c14..492dcc57e11b 100644 --- a/pkg/lib/cockpit.d.ts +++ b/pkg/lib/cockpit.d.ts @@ -235,6 +235,7 @@ declare module 'cockpit' { readonly options: DBusOptions; proxy(interface?: string, path?: string, options?: { watch?: boolean }): DBusProxy; call(path: string, iface: string, method: string, args?: unknown[] | null, options?: DBusCallOptions): Promise; + watch(path: string): DeferredPromise, close(): void; }