From 29b107f93763420c5bc0cbde38c68e40e705ff38 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 1 Jun 2017 18:46:07 +0200 Subject: fix terminology, better types --- src/webex/wxApi.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/webex/wxApi.ts') 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 { /** * Query for a payment by fulfillment URL. */ -export function queryPayment(url: string): Promise { +export function queryPayment(url: string): Promise { return callBackend("query-payment", { url }); } -- cgit v1.2.3