Skip to content

Commit

Permalink
lib: add DbusClient.watch() in TypeScript typing
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly authored and martinpitt committed Dec 6, 2024
1 parent 2c07606 commit 54a0e66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/lib/cockpit.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<unknown[]>;
watch(path: string): DeferredPromise<void>,
close(): void;
}

Expand Down

0 comments on commit 54a0e66

Please sign in to comment.