Skip to content

Commit 414df2e

Browse files
author
Tony Crisci
authored
Merge pull request #91 from cerebrumy/add-missing-flags-to-typescript-definitions
Add missing flags to typescript definitions
2 parents 598be37 + e84ef6c commit 414df2e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

types.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,19 @@ declare module 'dbus-next' {
9898
static newSignal(path: string, iface: string, name: string, signature?: string, body?: any[]): Message;
9999
}
100100

101+
export class NameFlag {
102+
static ALLOW_REPLACEMENT: number;
103+
static REPLACE_EXISTING: number;
104+
static DO_NOT_QUEUE: number;
105+
}
106+
107+
export class RequestNameReply {
108+
static PRIMARY_OWNER: number;
109+
static IN_QUEUE: number;
110+
static EXISTS: number;
111+
static ALREADY_OWNER: number;
112+
}
113+
101114
export class MessageBus extends EventEmitter {
102115
getProxyObject(name: string, path: string, xml?: string): Promise<ProxyObject>;
103116
disconnect(): void;

0 commit comments

Comments
 (0)