From 1779f6eef44c653e1d5959d9e05abc3feefcca28 Mon Sep 17 00:00:00 2001 From: getlarge Date: Wed, 10 Mar 2021 15:37:09 +0100 Subject: [PATCH] fix: add type for TransactionOutput.condition Signed-off-by: getlarge --- types/transaction.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/transaction.d.ts b/types/transaction.d.ts index a3681dd..ff0011e 100644 --- a/types/transaction.d.ts +++ b/types/transaction.d.ts @@ -20,8 +20,10 @@ export interface TransactionInput { } export interface TransactionOutput { amount: string; - // TODO: specifiy JSON conditions - condition: any[]; + condition: + | PreimageSha256JSONCondition + | ThresholdSha256JSONCondition + | Ed25519Sha256JSONCondition; public_keys: string[]; }