aboutsummaryrefslogtreecommitdiff
path: root/src/webex/wxApi.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-06-01 18:46:07 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-06-01 18:46:07 +0200
commit29b107f93763420c5bc0cbde38c68e40e705ff38 (patch)
treeaf659996507b043d1c21c61c56d639f926402033 /src/webex/wxApi.ts
parent26467674ba430707ffcdeb19b456dd2e325450bc (diff)
fix terminology, better types
Diffstat (limited to 'src/webex/wxApi.ts')
-rw-r--r--src/webex/wxApi.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webex/wxApi.ts b/src/webex/wxApi.ts
index 4babb2a79..1968b6575 100644
--- a/src/webex/wxApi.ts
+++ b/src/webex/wxApi.ts
@@ -33,6 +33,7 @@ import {
PreCoinRecord,
ReserveCreationInfo,
ReserveRecord,
+ QueryPaymentResult,
} from "../types";
import { MessageType, MessageMap } from "./messages";
@@ -213,7 +214,7 @@ export function confirmReserve(reservePub: string): Promise<void> {
/**
* Query for a payment by fulfillment URL.
*/
-export function queryPayment(url: string): Promise<any> {
+export function queryPayment(url: string): Promise<QueryPaymentResult> {
return callBackend("query-payment", { url });
}