aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-20 12:40:25 +0300
committerValentin Popov <info@valentineus.link>2020-02-20 12:40:25 +0300
commitc74e8da089aaf07e71473dfe38e922f03c49ed14 (patch)
tree828a283352eea92af90092c93d5f058f6941792f
parent35655605cd532faf75e7052385062ae679976a85 (diff)
downloadwebos-service-types-c74e8da089aaf07e71473dfe38e922f03c49ed14.tar.xz
webos-service-types-c74e8da089aaf07e71473dfe38e922f03c49ed14.zip
Fixed
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--dist/method.d.ts5
-rw-r--r--dist/subscription.d.ts5
-rw-r--r--dist/types/index.d.ts2
3 files changed, 5 insertions, 7 deletions
diff --git a/dist/method.d.ts b/dist/method.d.ts
index 61c31d6..fac3163 100644
--- a/dist/method.d.ts
+++ b/dist/method.d.ts
@@ -1,10 +1,9 @@
-import { Description } from "./types";
import { Message } from "./message";
export declare class Method {
- public constructor(methodName: string, description: Description);
+ public constructor(methodName: string, description: Record<string, any>);
- public readonly description: Description;
+ public readonly description: Record<string, any>;
public readonly name: string;
diff --git a/dist/subscription.d.ts b/dist/subscription.d.ts
index 30cff6b..3b803dd 100644
--- a/dist/subscription.d.ts
+++ b/dist/subscription.d.ts
@@ -1,7 +1,8 @@
export declare class Subscription {
- public constructor(handle: any, uri: string, args: any);
+ // @todo Need to "palmbus"
+ public constructor(handle: any, uri: string, args: Record<string, any>);
- public readonly args: any;
+ public readonly args: Record<string, any>;
// @todo Need to "palmbus"
public readonly handle: any;
diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts
deleted file mode 100644
index 92aada8..0000000
--- a/dist/types/index.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-// eslint-disable-next-line @typescript-eslint/no-type-alias
-export type Description = any;