aboutsummaryrefslogtreecommitdiff
path: root/dist/method.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'dist/method.d.ts')
-rw-r--r--dist/method.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/method.d.ts b/dist/method.d.ts
index fac3163..9845709 100644
--- a/dist/method.d.ts
+++ b/dist/method.d.ts
@@ -1,12 +1,12 @@
import { Message } from "./message";
export declare class Method {
- public constructor(methodName: string, description: Record<string, any>);
-
public readonly description: Record<string, any>;
public readonly name: string;
+ public constructor(methodName: string, description: Record<string, any>);
+
public on(event: "request", listener: (message: Message) => void): this;
public on(event: "cancel", listener: (message: Message) => void): this;